Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 186 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 51.92 kB / 371.6 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2452, allocations: 52.19 MB / 423.8 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005666/0.2509, allocations: 3.629 MB / 427.5 MB, free: 11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00276/0.2537, allocations: 1.379 MB / 428.8 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002527/0.2539, allocations: 11.94 kB / 428.8 MB, free: 9.605 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008788/0.2548, allocations: 254.7 kB / 429.1 MB, free: 9.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006291/0.2554, allocations: 258.4 kB / 429.3 MB, free: 9.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007438/0.2562, allocations: 297.6 kB / 429.6 MB, free: 8.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008227/0.257, allocations: 0.7124 MB / 430.4 MB, free: 8.098 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.2572, allocations: 105.4 kB / 430.5 MB, free: 7.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003656/0.2576, allocations: 287 kB / 430.7 MB, free: 7.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003802/0.258, allocations: 274.7 kB / 431 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.33e-05/0.2581, allocations: 52 kB / 431.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.2583, allocations: 95.97 kB / 431.1 MB, free: 7.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.2585, allocations: 151.4 kB / 431.3 MB, free: 7.145 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002638/0.2587, allocations: 242.8 kB / 431.5 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009875/0.2597, allocations: 0.7274 MB / 432.3 MB, free: 6.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2597, allocations: 0 / 432.3 MB, free: 6.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2597, allocations: 4 kB / 432.3 MB, free: 6.172 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.2597, allocations: 0 / 432.3 MB, free: 6.172 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001802/0.2615, allocations: 0.8694 MB / 433.1 MB, free: 5.266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.2616, allocations: 8.031 kB / 433.1 MB, free: 5.258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.2617, allocations: 68.52 kB / 433.2 MB, free: 5.191 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006246/0.2623, allocations: 348.3 kB / 433.5 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/0.2624, allocations: 37.31 kB / 433.6 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-05/0.2625, allocations: 44.06 kB / 433.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008949/0.2634, allocations: 0.5269 MB / 434.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.2634, allocations: 0 / 434.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/0.2634, allocations: 16 kB / 434.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.2634, allocations: 12 kB / 434.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006515/0.2641, allocations: 311.8 kB / 434.5 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00257/0.2667, allocations: 1.497 MB / 436 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007763/0.2674, allocations: 334.8 kB / 436.3 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003259/0.2678, allocations: 167.9 kB / 436.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.2678, allocations: 4 kB / 436.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00057/0.2684, allocations: 361.2 kB / 436.8 MB, free: 1.348 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.174e-06/0.2684, allocations: 7.938 kB / 436.8 MB, free: 1.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002196/0.2706, allocations: 0.712 MB / 437.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001707/0.2707, allocations: 162.2 kB / 437.7 MB, free: 424 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007007/0.2714, allocations: 485.8 kB / 438.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.489e-05/0.2715, allocations: 37.7 kB / 438.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.2717, allocations: 252.7 kB / 438.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.2718, allocations: 134.9 kB / 438.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.272, allocations: 82.08 kB / 438.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.2722, allocations: 350.8 kB / 439 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.2724, allocations: 128.8 kB / 439.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004262/0.2729, allocations: 340.9 kB / 439.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000596/0.2735, allocations: 269.3 kB / 439.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2735, allocations: 0 / 439.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008939/0.2744, allocations: 477.1 kB / 440.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.2744, allocations: 8 kB / 440.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2744, allocations: 0 / 440.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005351/0.2749, allocations: 155.3 kB / 440.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.2752, allocations: 43.92 kB / 440.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006164/0.2813, allocations: 6.127 MB / 446.5 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004642/0.2818, allocations: 59.97 kB / 446.6 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.2818, allocations: 16.17 kB / 446.6 MB, free: 6.969 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,IdealGTOThyristor2.off,IdealThyristor2.off,$PRE.IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEvent,IdealGTOThyristor1.off,IdealThyristor1.fire,IdealThyristor1.off,$PRE.IdealThyristor1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003896/0.2822, allocations: 191.7 kB / 446.8 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.966e-05/0.2823, allocations: 55.66 kB / 446.9 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.2834, allocations: 0.4932 MB / 447.3 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.2834, allocations: 4 kB / 447.4 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.2834, allocations: 0 / 447.4 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.2834, allocations: 3.984 kB / 447.4 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005173/0.284, allocations: 345 kB / 447.7 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.284, allocations: 4 kB / 447.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.2841, allocations: 27.97 kB / 447.7 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004662/0.2846, allocations: 155.3 kB / 447.9 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/0.2846, allocations: 11.98 kB / 447.9 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005685/0.2903, allocations: 5.839 MB / 453.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2903, allocations: 0 / 453.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.2915, allocations: 0.5112 MB / 454.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/0.2917, allocations: 83.56 kB / 454.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.162e-05/0.2917, allocations: 8.125 kB / 454.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002883/0.292, allocations: 35.97 kB / 454.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.2922, allocations: 55.78 kB / 454.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.2922, allocations: 19.92 kB / 454.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000443/0.2927, allocations: 347.1 kB / 454.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2927, allocations: 0 / 454.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008174/0.2935, allocations: 171.7 kB / 454.9 MB, free: 14.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001716/0.2952, allocations: 459.3 kB / 455.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.2965, allocations: 0.7872 MB / 456.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.2965, allocations: 8.188 kB / 456.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008126/0.2973, allocations: 0.6429 MB / 456.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005347/0.2979, allocations: 109.5 kB / 456.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.3, allocations: 0.9987 MB / 457.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.3003, allocations: 271.2 kB / 458.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.863e-05/0.3004, allocations: 31.42 kB / 458.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3004, allocations: 3.938 kB / 458.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of Templates: time 0.01937/0.3197, allocations: 14.69 MB / 472.9 MB, free: 12.18 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.86369043495506]