Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 105.7 kB / 20.32 MB, free: 1.75 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002065/0.002065, allocations: 189.9 kB / 23.47 MB, free: 5.469 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 207.6 MB / 234 MB, free: 11.05 MB / 190.1 MB [Timeout remaining time 88] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 51.92 kB / 345.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.344, allocations: 49.12 MB / 394.9 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005203/0.3492, allocations: 3.939 MB / 398.9 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002745/0.352, allocations: 1.36 MB / 400.2 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004926/0.3525, allocations: 11.5 kB / 400.2 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009657/0.3534, allocations: 255 kB / 400.5 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007686/0.3542, allocations: 258.4 kB / 400.7 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008576/0.355, allocations: 270.2 kB / 401 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009244/0.356, allocations: 0.7088 MB / 401.7 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.3562, allocations: 128.6 kB / 401.8 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004085/0.3566, allocations: 271.4 kB / 402.1 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004045/0.357, allocations: 314 kB / 402.4 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.972e-05/0.3571, allocations: 49.66 kB / 402.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002909/0.3574, allocations: 102.7 kB / 402.6 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.3576, allocations: 145.9 kB / 402.7 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002894/0.3579, allocations: 295.9 kB / 403 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009304/0.3588, allocations: 0.7084 MB / 403.7 MB, free: 4 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.3588, allocations: 4.562 kB / 403.7 MB, free: 3.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3588, allocations: 0 / 403.7 MB, free: 3.996 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.719e-05/0.3589, allocations: 1.062 kB / 403.7 MB, free: 3.996 MB / 318.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.001745/0.3606, allocations: 0.9567 MB / 404.7 MB, free: 3.277 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.3607, allocations: 9.625 kB / 404.7 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.3608, allocations: 69.88 kB / 404.7 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005521/0.3613, allocations: 415.9 kB / 405.1 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.154e-05/0.3614, allocations: 34.06 kB / 405.2 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.066e-05/0.3614, allocations: 42.17 kB / 405.2 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008014/0.3622, allocations: 436 kB / 405.6 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.3623, allocations: 7.922 kB / 405.7 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.327e-05/0.3623, allocations: 17.8 kB / 405.7 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.3623, allocations: 12.88 kB / 405.7 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006274/0.3629, allocations: 315.2 kB / 406 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.3653, allocations: 1.691 MB / 407.7 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006528/0.3659, allocations: 351.8 kB / 408 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/0.3662, allocations: 154.4 kB / 408.2 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.3663, allocations: 5.531 kB / 408.2 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004854/0.3667, allocations: 259.1 kB / 408.4 MB, free: 0.957 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 1.954e-06/0.3667, allocations: 4 kB / 408.4 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.00221/0.369, allocations: 1.007 MB / 409.4 MB, free: 316 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/0.369, allocations: 189.6 kB / 409.6 MB, free: 88 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007592/0.3698, allocations: 0.4906 MB / 410.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.244e-05/0.3698, allocations: 36.39 kB / 410.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/0.3701, allocations: 257.5 kB / 410.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.3702, allocations: 134.1 kB / 410.5 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.3704, allocations: 74.27 kB / 410.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002486/0.3706, allocations: 362.6 kB / 411 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/0.3709, allocations: 118.8 kB / 411.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000412/0.3713, allocations: 217 kB / 411.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005466/0.3719, allocations: 271.7 kB / 411.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3719, allocations: 1.094 kB / 411.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009633/0.3728, allocations: 481.2 kB / 412 MB, free: 14.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.3729, allocations: 5.875 kB / 412 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.3729, allocations: 1.094 kB / 412 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006012/0.3735, allocations: 159.8 kB / 412.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.3737, allocations: 53.72 kB / 412.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006358/0.3801, allocations: 6.659 MB / 418.9 MB, free: 7.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005652/0.3806, allocations: 45.39 kB / 419 MB, free: 7.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.3807, allocations: 21.34 kB / 419 MB, free: 7.602 MB / 334.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.0004039/0.3811, allocations: 190.7 kB / 419.2 MB, free: 7.441 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.3812, allocations: 57.33 kB / 419.2 MB, free: 7.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.3823, allocations: 497.5 kB / 419.7 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.3824, allocations: 4.156 kB / 419.7 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.3824, allocations: 1.125 kB / 419.7 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3824, allocations: 7.984 kB / 419.7 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007447/0.3831, allocations: 0.4946 MB / 420.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.3831, allocations: 0 / 420.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.3833, allocations: 32.03 kB / 420.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004562/0.3837, allocations: 146.5 kB / 420.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.3837, allocations: 18.2 kB / 420.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005962/0.3897, allocations: 6.351 MB / 426.8 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3897, allocations: 0 / 426.8 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.3909, allocations: 0.4944 MB / 427.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003005/0.3912, allocations: 163.4 kB / 427.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.009e-05/0.3913, allocations: 11.25 kB / 427.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.3916, allocations: 33.31 kB / 427.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.3918, allocations: 53.55 kB / 427.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.3918, allocations: 8.094 kB / 427.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005204/0.3923, allocations: 364.1 kB / 427.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3923, allocations: 0 / 427.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008963/0.3932, allocations: 170.8 kB / 428 MB, free: 15.43 MB / 350.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 (24): * Single equations (assignments): 17 * 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.001628/0.3948, allocations: 443.2 kB / 428.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.3962, allocations: 0.7762 MB / 429.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.3962, allocations: 0 / 429.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008267/0.3971, allocations: 0.6438 MB / 429.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006973/0.3978, allocations: 114.1 kB / 430 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.4001, allocations: 1.015 MB / 431 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/0.4007, allocations: 0.8573 MB / 431.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.4008, allocations: 35.75 kB / 431.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4008, allocations: 0 / 431.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of Templates: time 0.02169/0.4225, allocations: 14.71 MB / 446.6 MB, free: 14.29 MB / 366.1 MB [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches