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.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.002074/0.002074, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 14.72 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.002402/0.002402, allocations: 204.8 kB / 25.23 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 207.6 MB / 236 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] 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.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_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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 51.91 kB / 348.5 MB, free: 9.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3538, allocations: 49.16 MB / 397.6 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.00623/0.36, allocations: 3.952 MB / 401.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002923/0.3629, allocations: 1.385 MB / 402.9 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004307/0.3633, allocations: 10.22 kB / 403 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.3644, allocations: 256.1 kB / 403.2 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007942/0.3652, allocations: 266.4 kB / 403.5 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008184/0.366, allocations: 267 kB / 403.7 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009572/0.367, allocations: 0.7119 MB / 404.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002806/0.3672, allocations: 134.6 kB / 404.6 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004279/0.3677, allocations: 281.5 kB / 404.8 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004371/0.3681, allocations: 304.9 kB / 405.1 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.571e-05/0.3682, allocations: 50.75 kB / 405.2 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.3685, allocations: 104.9 kB / 405.3 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.3687, allocations: 144.9 kB / 405.4 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003049/0.369, allocations: 299.5 kB / 405.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.37, allocations: 0.712 MB / 406.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.37, allocations: 0 / 406.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.37, allocations: 0 / 406.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.03e-05/0.3701, allocations: 1.25 kB / 406.4 MB, free: 4.031 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.001787/0.3719, allocations: 0.8818 MB / 407.3 MB, free: 3.402 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.3719, allocations: 12.86 kB / 407.3 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.3721, allocations: 70.05 kB / 407.4 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005916/0.3726, allocations: 352.2 kB / 407.7 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/0.3727, allocations: 41.97 kB / 407.8 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.852e-05/0.3728, allocations: 42.14 kB / 407.8 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008363/0.3736, allocations: 437.2 kB / 408.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.3736, allocations: 0 / 408.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.558e-05/0.3737, allocations: 16.73 kB / 408.3 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.3737, allocations: 14.38 kB / 408.3 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006592/0.3743, allocations: 314.2 kB / 408.6 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002492/0.3768, allocations: 1.651 MB / 410.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000699/0.3775, allocations: 329 kB / 410.6 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.3778, allocations: 158.4 kB / 410.7 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.3779, allocations: 4.781 kB / 410.7 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004751/0.3783, allocations: 260.3 kB / 411 MB, free: 1.199 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 1.693e-06/0.3783, allocations: 0 / 411 MB, free: 1.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.002061/0.3804, allocations: 0.7138 MB / 411.7 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.3805, allocations: 192.7 kB / 411.9 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006162/0.3811, allocations: 0.493 MB / 412.4 MB, free: 320 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.3811, allocations: 36.67 kB / 412.4 MB, free: 280 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.3813, allocations: 260.5 kB / 412.7 MB, free: 40 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.3814, allocations: 130.9 kB / 412.8 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.3816, allocations: 78.41 kB / 412.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.3818, allocations: 353.9 kB / 413.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.3821, allocations: 124 kB / 413.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003776/0.3825, allocations: 216.6 kB / 413.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005402/0.383, allocations: 267.5 kB / 413.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.383, allocations: 4 kB / 413.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009223/0.3839, allocations: 470.4 kB / 414.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.3839, allocations: 9.625 kB / 414.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.384, allocations: 1.312 kB / 414.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005673/0.3845, allocations: 159.9 kB / 414.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.3847, allocations: 45.31 kB / 414.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006207/0.391, allocations: 6.24 MB / 420.7 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005418/0.3915, allocations: 53.31 kB / 420.8 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.3915, allocations: 13.78 kB / 420.8 MB, free: 8.594 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.000426/0.392, allocations: 195.5 kB / 421 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.3921, allocations: 65.36 kB / 421 MB, free: 8.387 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.3933, allocations: 0.4905 MB / 421.5 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3933, allocations: 3.25 kB / 421.5 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.3933, allocations: 5 kB / 421.5 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.3933, allocations: 3.984 kB / 421.5 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007321/0.394, allocations: 466.4 kB / 422 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.394, allocations: 0 / 422 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.3942, allocations: 32.28 kB / 422 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004517/0.3946, allocations: 154.9 kB / 422.2 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.3946, allocations: 13.27 kB / 422.2 MB, free: 7.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005838/0.4005, allocations: 5.945 MB / 428.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.4005, allocations: 0 / 428.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.4017, allocations: 0.498 MB / 428.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002559/0.402, allocations: 82.62 kB / 428.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.852e-05/0.402, allocations: 8.062 kB / 428.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.4023, allocations: 32.78 kB / 428.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.4025, allocations: 52.91 kB / 428.8 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.4025, allocations: 16.33 kB / 428.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005389/0.403, allocations: 368.7 kB / 429.2 MB, free: 1.078 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.403, allocations: 0 / 429.2 MB, free: 1.078 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009195/0.404, allocations: 166.1 kB / 429.4 MB, free: 1.047 MB / 334.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.001713/0.4057, allocations: 441.4 kB / 429.8 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001428/0.4071, allocations: 0.78 MB / 430.6 MB, free: 32 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.4071, allocations: 1.094 kB / 430.6 MB, free: 32 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008797/0.408, allocations: 0.6391 MB / 431.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006568/0.4086, allocations: 111.4 kB / 431.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/0.4111, allocations: 1.017 MB / 432.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006136/0.4117, allocations: 0.8656 MB / 433.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.4118, allocations: 31.34 kB / 433.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4118, allocations: 5.188 kB / 433.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of Templates: time 0.02198/0.4338, allocations: 14.7 MB / 447.9 MB, free: 15.44 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 [Calling sys.exit(0), Time elapsed: 10.591502929106355]