Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.002615/0.002615, allocations: 103.5 kB / 21.73 MB, free: 2.68 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.00286/0.00286, allocations: 162.6 kB / 25.02 MB, free: 8.938 MB / 18.57 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.382/1.382, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 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.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5032,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5032,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.879e-05, allocations: 2.312 kB / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.00436/0.004388, allocations: 2.658 MB / 253 MB, free: 5.148 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.005939, allocations: 0.7292 MB / 253.7 MB, free: 4.41 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.006074, allocations: 7.938 kB / 253.8 MB, free: 4.402 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.006237, allocations: 39.64 kB / 253.8 MB, free: 4.363 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.006454, allocations: 95.14 kB / 253.9 MB, free: 4.27 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003547/0.006809, allocations: 103.7 kB / 254 MB, free: 4.168 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004906/0.0073, allocations: 394.3 kB / 254.4 MB, free: 3.781 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.007507, allocations: 56.91 kB / 254.4 MB, free: 3.723 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003717/0.007879, allocations: 215.5 kB / 254.6 MB, free: 3.512 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000261/0.00814, allocations: 139.6 kB / 254.8 MB, free: 3.375 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.49e-05/0.008215, allocations: 32 kB / 254.8 MB, free: 3.344 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.187e-05/0.008286, allocations: 32 kB / 254.8 MB, free: 3.312 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.008392, allocations: 71.73 kB / 254.9 MB, free: 3.242 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.008573, allocations: 115.7 kB / 255 MB, free: 3.129 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005415/0.009115, allocations: 386.8 kB / 255.4 MB, free: 2.75 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.009118, allocations: 0 / 255.4 MB, free: 2.75 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.00912, allocations: 0 / 255.4 MB, free: 2.75 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.009126, allocations: 0 / 255.4 MB, free: 2.75 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001591/0.01072, allocations: 0.6888 MB / 256.1 MB, free: 2.02 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.01076, allocations: 15.98 kB / 256.1 MB, free: 2.004 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.01088, allocations: 48.69 kB / 256.2 MB, free: 1.957 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.01127, allocations: 209.2 kB / 256.4 MB, free: 1.723 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.0113, allocations: 16.88 kB / 256.4 MB, free: 1.703 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.318e-05/0.01135, allocations: 20.38 kB / 256.4 MB, free: 1.684 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008263/0.01218, allocations: 326.6 kB / 256.7 MB, free: 1.34 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.01219, allocations: 192 / 256.7 MB, free: 1.34 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.057e-05/0.01223, allocations: 8.375 kB / 256.7 MB, free: 1.332 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.01224, allocations: 7.938 kB / 256.7 MB, free: 1.324 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007509/0.013, allocations: 253.8 kB / 257 MB, free: 1.078 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.01485, allocations: 0.9555 MB / 257.9 MB, free: 72 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002617/0.01747, allocations: 414.8 kB / 258.3 MB, free: 15.65 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005821/0.01805, allocations: 191.3 kB / 258.5 MB, free: 15.46 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.174e-05/0.01809, allocations: 7.984 kB / 258.5 MB, free: 15.45 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000613/0.01871, allocations: 258 kB / 258.8 MB, free: 15.17 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.463e-06/0.01871, allocations: 0 / 258.8 MB, free: 15.17 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.001306/0.02001, allocations: 405.3 kB / 259.2 MB, free: 14.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.02011, allocations: 110.8 kB / 259.3 MB, free: 14.63 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003644/0.02048, allocations: 316.2 kB / 259.6 MB, free: 14.3 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.02052, allocations: 29.7 kB / 259.6 MB, free: 14.27 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.02069, allocations: 211.2 kB / 259.8 MB, free: 14.06 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.779e-05/0.02078, allocations: 79.28 kB / 259.9 MB, free: 13.98 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.02091, allocations: 59.59 kB / 260 MB, free: 13.92 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003176/0.02123, allocations: 0.5197 MB / 260.5 MB, free: 13.39 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/0.02164, allocations: 150 kB / 260.6 MB, free: 13.23 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000482/0.02213, allocations: 219 kB / 260.8 MB, free: 12.99 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007599/0.02289, allocations: 296.5 kB / 261.1 MB, free: 12.68 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.02289, allocations: 0 / 261.1 MB, free: 12.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009918/0.02388, allocations: 404.6 kB / 261.5 MB, free: 12.27 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.94e-05/0.02393, allocations: 33.7 kB / 261.6 MB, free: 12.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.02394, allocations: 0 / 261.6 MB, free: 12.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.02395, allocations: 0 / 261.6 MB, free: 12.23 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.02545, allocations: 179.9 kB / 261.7 MB, free: 12.05 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005741/0.03119, allocations: 4.254 MB / 266 MB, free: 7.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.03156, allocations: 44.05 kB / 266 MB, free: 7.527 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.03159, allocations: 12 kB / 266 MB, free: 7.516 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002328/0.03183, allocations: 188.5 kB / 266.2 MB, free: 7.32 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.518e-05/0.03189, allocations: 27.86 kB / 266.3 MB, free: 7.293 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.352e-05/0.03197, allocations: 26.12 kB / 266.3 MB, free: 7.262 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.03199, allocations: 15.91 kB / 266.3 MB, free: 7.246 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.03199, allocations: 0 / 266.3 MB, free: 7.246 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.032, allocations: 0 / 266.3 MB, free: 7.246 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.03375, allocations: 0.8744 MB / 267.2 MB, free: 6.32 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.03376, allocations: 0 / 267.2 MB, free: 6.32 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/0.03521, allocations: 171.8 kB / 267.3 MB, free: 6.152 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.03522, allocations: 0 / 267.3 MB, free: 6.152 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.03524, allocations: 12 kB / 267.4 MB, free: 6.141 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005686/0.04093, allocations: 4.258 MB / 271.6 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.04093, allocations: 0 / 271.6 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.04236, allocations: 0.6043 MB / 272.2 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/0.04242, allocations: 23.8 kB / 272.2 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/0.04247, allocations: 8 kB / 272.2 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.04276, allocations: 23.97 kB / 272.3 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.04287, allocations: 31.95 kB / 272.3 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.0429, allocations: 11.98 kB / 272.3 MB, free: 0.918 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002247/0.04313, allocations: 217.2 kB / 272.5 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.04313, allocations: 0 / 272.5 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004788/0.04361, allocations: 79.89 kB / 272.6 MB, free: 0.625 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (thyristor_v4_1.vControl,inductor.i) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001728/0.04378, allocations: 111.2 kB / 272.7 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00228/0.04606, allocations: 0.4887 MB / 273.2 MB, free: 15.99 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.04606, allocations: 0 / 273.2 MB, free: 15.99 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001674/0.04774, allocations: 284.4 kB / 273.5 MB, free: 15.71 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.04816, allocations: 40.47 kB / 273.5 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.04982, allocations: 0.6184 MB / 274.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.05, allocations: 142.4 kB / 274.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001282/0.05013, allocations: 25.94 kB / 274.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.591e-05/0.05021, allocations: 20.5 kB / 274.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of SimCode: time 1.332e-06/0.05021, allocations: 0 / 274.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of Templates: time 0.009976/0.06019, allocations: 3.919 MB / 278.2 MB, free: 10.93 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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: 4.721269684960134]