Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 71.77 kB / 21.69 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 166.7 kB / 24.99 MB, free: 8.789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9889/0.9889, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 273.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.251e-05/3.435e-05, allocations: 10.31 kB / 273.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004562/0.004597, allocations: 3.961 MB / 277 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.006929, allocations: 1.589 MB / 278.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002786/0.007208, allocations: 15.94 kB / 278.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008572/0.008065, allocations: 254.7 kB / 278.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007009/0.008766, allocations: 313.8 kB / 279.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005915/0.009358, allocations: 275.2 kB / 279.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007141/0.01007, allocations: 0.7433 MB / 280.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.01031, allocations: 113.5 kB / 280.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005279/0.01083, allocations: 407.1 kB / 280.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003052/0.01114, allocations: 247.3 kB / 281 MB, free: 9.898 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.608e-05/0.01121, allocations: 48 kB / 281 MB, free: 9.852 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.01143, allocations: 111.8 kB / 281.1 MB, free: 9.742 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.01158, allocations: 151.4 kB / 281.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.01179, allocations: 195.5 kB / 281.4 MB, free: 9.402 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006684/0.01246, allocations: 0.5137 MB / 282 MB, free: 8.887 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.01246, allocations: 7.938 kB / 282 MB, free: 8.879 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01246, allocations: 0 / 282 MB, free: 8.879 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.01248, allocations: 4 kB / 282 MB, free: 8.875 MB / 266.7 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.001249/0.01373, allocations: 0.9925 MB / 283 MB, free: 7.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.01377, allocations: 8.031 kB / 283 MB, free: 7.832 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002311/0.014, allocations: 112.5 kB / 283.1 MB, free: 7.723 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004403/0.01444, allocations: 367.1 kB / 283.4 MB, free: 7.332 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.01447, allocations: 33.38 kB / 283.5 MB, free: 7.301 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.004e-05/0.01452, allocations: 44.31 kB / 283.5 MB, free: 7.258 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004913/0.01502, allocations: 454.2 kB / 284 MB, free: 6.762 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.01503, allocations: 3.938 kB / 284 MB, free: 6.758 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.01506, allocations: 19.98 kB / 284 MB, free: 6.738 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.01507, allocations: 12 kB / 284 MB, free: 6.727 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004639/0.01554, allocations: 173.8 kB / 284.2 MB, free: 6.559 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.01715, allocations: 1.68 MB / 285.8 MB, free: 4.789 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004144/0.01757, allocations: 284.4 kB / 286.1 MB, free: 4.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.01774, allocations: 115.6 kB / 286.2 MB, free: 4.383 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.01776, allocations: 11.73 kB / 286.2 MB, free: 4.371 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003039/0.01807, allocations: 336.9 kB / 286.6 MB, free: 3.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.003e-06/0.01807, allocations: 0 / 286.6 MB, free: 3.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001078/0.01915, allocations: 0.5912 MB / 287.2 MB, free: 3.367 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.01922, allocations: 174.2 kB / 287.3 MB, free: 3.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003523/0.01957, allocations: 466.6 kB / 287.8 MB, free: 2.691 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.0196, allocations: 33.7 kB / 287.8 MB, free: 2.652 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.01976, allocations: 307.4 kB / 288.1 MB, free: 2.348 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.929e-05/0.01983, allocations: 127 kB / 288.3 MB, free: 2.223 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.252e-05/0.01992, allocations: 87.8 kB / 288.3 MB, free: 2.129 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.02006, allocations: 0.5312 MB / 288.9 MB, free: 1.586 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.02017, allocations: 68.95 kB / 288.9 MB, free: 1.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.02037, allocations: 295 kB / 289.2 MB, free: 1.156 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.02062, allocations: 200.7 kB / 289.4 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.02062, allocations: 0 / 289.4 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004715/0.02109, allocations: 380.3 kB / 289.8 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.02111, allocations: 8 kB / 289.8 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.02111, allocations: 0 / 289.8 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003025/0.02141, allocations: 138.6 kB / 289.9 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.02154, allocations: 43.92 kB / 290 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004036/0.02558, allocations: 8.243 MB / 298.2 MB, free: 7.625 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.02579, allocations: 47.77 kB / 298.3 MB, free: 7.578 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.02581, allocations: 12 kB / 298.3 MB, free: 7.566 MB / 282.7 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.0004074/0.02622, allocations: 194.5 kB / 298.5 MB, free: 7.367 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.198e-05/0.02629, allocations: 63.67 kB / 298.5 MB, free: 7.305 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005238/0.02682, allocations: 404.5 kB / 298.9 MB, free: 6.887 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.02682, allocations: 4 kB / 298.9 MB, free: 6.883 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.02682, allocations: 3.938 kB / 298.9 MB, free: 6.879 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.02683, allocations: 3.984 kB / 298.9 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.02715, allocations: 352.3 kB / 299.3 MB, free: 6.496 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.02715, allocations: 128 / 299.3 MB, free: 6.496 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.479e-05/0.02722, allocations: 39.91 kB / 299.3 MB, free: 6.457 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002474/0.02747, allocations: 134.7 kB / 299.5 MB, free: 6.309 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.02749, allocations: 15.92 kB / 299.5 MB, free: 6.293 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.126/0.1535, allocations: 7.774 MB / 307.2 MB, free: 38.53 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1535, allocations: 0 / 307.2 MB, free: 38.53 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007897/0.1543, allocations: 460 kB / 307.7 MB, free: 38.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.1544, allocations: 82.28 kB / 307.8 MB, free: 38.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.518e-05/0.1545, allocations: 12.34 kB / 307.8 MB, free: 38.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.1546, allocations: 27.14 kB / 307.8 MB, free: 38.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.1548, allocations: 57.39 kB / 307.9 MB, free: 38.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.1548, allocations: 17.39 kB / 307.9 MB, free: 38.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002802/0.1551, allocations: 310.8 kB / 308.2 MB, free: 38.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1551, allocations: 0 / 308.2 MB, free: 38.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006638/0.1558, allocations: 172.8 kB / 308.4 MB, free: 38.27 MB / 282.7 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.001029/0.1568, allocations: 413.9 kB / 308.8 MB, free: 38.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008197/0.1576, allocations: 0.9291 MB / 309.7 MB, free: 37.46 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.1576, allocations: 1.062 kB / 309.7 MB, free: 37.46 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004833/0.1581, allocations: 0.8388 MB / 310.5 MB, free: 36.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.1586, allocations: 121.7 kB / 310.6 MB, free: 36.76 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.1604, allocations: 0.8995 MB / 311.5 MB, free: 36.35 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.1605, allocations: 135.7 kB / 311.7 MB, free: 36.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002055/0.1607, allocations: 44.59 kB / 311.7 MB, free: 36.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.685e-05/0.1608, allocations: 36.75 kB / 311.8 MB, free: 36.26 MB / 282.7 MB Notification: Performance of SimCode: time 3.206e-06/0.1608, allocations: 3.906 kB / 311.8 MB, free: 36.26 MB / 282.7 MB Notification: Performance of Templates: time 0.01398/0.1748, allocations: 9.194 MB / 321 MB, free: 33.44 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.143048214027658]