Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00254/0.00254, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003021/0.003021, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.694/1.694, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.142e-05/3.271e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004793/0.004826, allocations: 2.727 MB / 274.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.006556, allocations: 0.7283 MB / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.006725, allocations: 7.938 kB / 275.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.006887, allocations: 39.62 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.0071, allocations: 91.14 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.007507, allocations: 131.6 kB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005238/0.008031, allocations: 394.3 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.008199, allocations: 56.88 kB / 276.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004352/0.008634, allocations: 227.5 kB / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.008864, allocations: 127.6 kB / 276.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.78e-05/0.008931, allocations: 36 kB / 276.8 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.009033, allocations: 43.94 kB / 276.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.502e-05/0.009118, allocations: 71.67 kB / 276.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.009277, allocations: 111.7 kB / 277 MB, free: 13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005724/0.009849, allocations: 394.8 kB / 277.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.009853, allocations: 4 kB / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.009854, allocations: 0 / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.00986, allocations: 0 / 277.4 MB, free: 12.61 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001634/0.01149, allocations: 0.7044 MB / 278.1 MB, free: 11.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.01154, allocations: 11.98 kB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002466/0.01178, allocations: 56.75 kB / 278.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.01217, allocations: 219.6 kB / 278.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/0.0122, allocations: 16.88 kB / 278.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.911e-05/0.01225, allocations: 20.33 kB / 278.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007322/0.01298, allocations: 330.6 kB / 278.7 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.013, allocations: 192 / 278.7 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.01303, allocations: 12.38 kB / 278.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.01305, allocations: 7.938 kB / 278.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007777/0.01382, allocations: 253.8 kB / 279 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.01572, allocations: 0.9595 MB / 279.9 MB, free: 9.898 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002677/0.0184, allocations: 414.8 kB / 280.3 MB, free: 9.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005722/0.01897, allocations: 183.6 kB / 280.5 MB, free: 9.297 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.019, allocations: 4 kB / 280.5 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000609/0.01961, allocations: 265.6 kB / 280.8 MB, free: 9 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.492e-06/0.01962, allocations: 0 / 280.8 MB, free: 9 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.001351/0.02097, allocations: 412.9 kB / 281.2 MB, free: 8.594 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.192e-05/0.02106, allocations: 114.8 kB / 281.3 MB, free: 8.457 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003609/0.02142, allocations: 316.3 kB / 281.6 MB, free: 8.133 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.02146, allocations: 33.7 kB / 281.6 MB, free: 8.094 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.02164, allocations: 223.1 kB / 281.9 MB, free: 7.871 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.389e-05/0.02174, allocations: 79.38 kB / 281.9 MB, free: 7.793 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.02187, allocations: 59.62 kB / 282 MB, free: 7.727 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003008/0.02217, allocations: 0.5157 MB / 282.5 MB, free: 7.199 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004348/0.0226, allocations: 146.1 kB / 282.7 MB, free: 7.051 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004886/0.02309, allocations: 231 kB / 282.9 MB, free: 6.797 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007907/0.02388, allocations: 292.6 kB / 283.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.02388, allocations: 0 / 283.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001028/0.02491, allocations: 404.7 kB / 283.6 MB, free: 6.078 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.839e-05/0.02496, allocations: 33.69 kB / 283.6 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.02497, allocations: 4 kB / 283.6 MB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.02499, allocations: 64 / 283.6 MB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.02658, allocations: 203.7 kB / 283.8 MB, free: 5.836 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00564/0.03222, allocations: 4.285 MB / 288.1 MB, free: 1.316 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/0.03254, allocations: 43.8 kB / 288.1 MB, free: 1.273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.03257, allocations: 8 kB / 288.1 MB, free: 1.266 MB / 266.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.0002172/0.03279, allocations: 196.6 kB / 288.3 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.28e-05/0.03285, allocations: 27.86 kB / 288.4 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.609e-05/0.03292, allocations: 26.12 kB / 288.4 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.03294, allocations: 15.92 kB / 288.4 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.03294, allocations: 0 / 288.4 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.03295, allocations: 3.984 kB / 288.4 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.03473, allocations: 0.8782 MB / 289.3 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.03474, allocations: 4 kB / 289.3 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001574/0.03631, allocations: 187.7 kB / 289.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.03631, allocations: 0 / 289.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/0.03635, allocations: 11.98 kB / 289.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005437/0.04179, allocations: 4.282 MB / 293.8 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.04179, allocations: 0 / 293.8 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.04318, allocations: 0.6153 MB / 294.4 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.25e-05/0.04322, allocations: 19.8 kB / 294.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.626e-05/0.04327, allocations: 8 kB / 294.4 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.04356, allocations: 31.97 kB / 294.4 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.383e-05/0.04365, allocations: 23.95 kB / 294.5 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.04368, allocations: 15.98 kB / 294.5 MB, free: 10.6 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002191/0.0439, allocations: 225.2 kB / 294.7 MB, free: 10.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0439, allocations: 0 / 294.7 MB, free: 10.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004648/0.04437, allocations: 79.89 kB / 294.8 MB, free: 10.3 MB / 282.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.000143/0.04451, allocations: 103.2 kB / 294.9 MB, free: 10.19 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002307/0.04682, allocations: 0.5122 MB / 295.4 MB, free: 9.656 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.04682, allocations: 0 / 295.4 MB, free: 9.656 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001783/0.0486, allocations: 303.5 kB / 295.7 MB, free: 9.355 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.049, allocations: 43.5 kB / 295.7 MB, free: 9.316 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.05057, allocations: 0.6183 MB / 296.3 MB, free: 8.664 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.05073, allocations: 142.2 kB / 296.5 MB, free: 8.504 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.05085, allocations: 29.94 kB / 296.5 MB, free: 8.477 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.726e-05/0.05094, allocations: 24.5 kB / 296.5 MB, free: 8.453 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.05094, allocations: 0 / 296.5 MB, free: 8.453 MB / 282.7 MB Notification: Performance of Templates: time 0.009411/0.06035, allocations: 3.991 MB / 300.5 MB, free: 4.5 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.787539339042269]