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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001332/0.001332, allocations: 100.5 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001717/0.001716, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.7 MB / 246.4 MB, free: 11.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002925, allocations: 8 kB / 307.1 MB, free: 1.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1526, allocations: 51.52 MB / 358.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003714/0.1564, allocations: 2.354 MB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.1579, allocations: 0.7055 MB / 361.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.1581, allocations: 7.938 kB / 361.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.1582, allocations: 35.77 kB / 361.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.1584, allocations: 67.39 kB / 361.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.1587, allocations: 79.89 kB / 361.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003444/0.1591, allocations: 346.5 kB / 362.2 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.1593, allocations: 65.31 kB / 362.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.1595, allocations: 131.5 kB / 362.4 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.1597, allocations: 147.4 kB / 362.5 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.84e-05/0.1598, allocations: 20 kB / 362.6 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.765e-05/0.1599, allocations: 24 kB / 362.6 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.365e-05/0.1599, allocations: 51.75 kB / 362.6 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.154e-05/0.16, allocations: 85.52 kB / 362.7 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.1603, allocations: 267.5 kB / 363 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1603, allocations: 0 / 363 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1603, allocations: 0 / 363 MB, free: 9.211 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1603, allocations: 0 / 363 MB, free: 9.211 MB / 302.1 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.00148/0.1618, allocations: 0.675 MB / 363.7 MB, free: 8.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1619, allocations: 15.97 kB / 363.7 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.1621, allocations: 43.62 kB / 363.7 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.1624, allocations: 265.5 kB / 364 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.1625, allocations: 20.38 kB / 364 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.03e-05/0.1625, allocations: 19.95 kB / 364 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007326/0.1633, allocations: 337.7 kB / 364.3 MB, free: 7.738 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1633, allocations: 4 kB / 364.4 MB, free: 7.734 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.1633, allocations: 4 kB / 364.4 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1633, allocations: 8 kB / 364.4 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008769/0.1642, allocations: 345.5 kB / 364.7 MB, free: 7.387 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.1659, allocations: 0.9882 MB / 365.7 MB, free: 6.328 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002712/0.1686, allocations: 0.6193 MB / 366.3 MB, free: 5.699 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006014/0.1692, allocations: 244.7 kB / 366.5 MB, free: 5.457 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.1692, allocations: 7.922 kB / 366.6 MB, free: 5.449 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006298/0.1699, allocations: 270.6 kB / 366.8 MB, free: 5.168 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.694e-06/0.1699, allocations: 0 / 366.8 MB, free: 5.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001442/0.1713, allocations: 0.5323 MB / 367.4 MB, free: 4.629 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.1714, allocations: 114.8 kB / 367.5 MB, free: 4.492 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.1717, allocations: 233 kB / 367.7 MB, free: 4.254 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.1717, allocations: 29.7 kB / 367.7 MB, free: 4.219 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.1718, allocations: 160.2 kB / 367.9 MB, free: 4.059 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.524e-05/0.1719, allocations: 74.94 kB / 368 MB, free: 3.984 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/0.1719, allocations: 4 kB / 368 MB, free: 3.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.172, allocations: 334.8 kB / 368.3 MB, free: 3.645 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004469/0.1725, allocations: 164.4 kB / 368.4 MB, free: 3.484 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004574/0.173, allocations: 200.2 kB / 368.6 MB, free: 3.277 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004445/0.1734, allocations: 194.7 kB / 368.8 MB, free: 3.082 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1734, allocations: 4 kB / 368.8 MB, free: 3.078 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001006/0.1744, allocations: 463.4 kB / 369.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.436e-05/0.1745, allocations: 37.7 kB / 369.3 MB, free: 2.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1745, allocations: 0 / 369.3 MB, free: 2.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1745, allocations: 3.953 kB / 369.3 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/0.1762, allocations: 363.6 kB / 369.7 MB, free: 2.211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2138/0.39, allocations: 3.273 MB / 373 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005737/0.3907, allocations: 72 kB / 373 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.3907, allocations: 9 kB / 373 MB, free: 18 MB / 302.1 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 ($whenCondition1,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.count) * 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001875/0.3909, allocations: 139 kB / 373.2 MB, free: 17.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.391, allocations: 24.95 kB / 373.2 MB, free: 17.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.364e-05/0.391, allocations: 33.81 kB / 373.2 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.391, allocations: 8.594 kB / 373.2 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.391, allocations: 0.5625 kB / 373.2 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.3911, allocations: 1.891 kB / 373.2 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.3929, allocations: 0.9675 MB / 374.2 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3929, allocations: 3.938 kB / 374.2 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001838/0.3947, allocations: 353.5 kB / 374.6 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.3948, allocations: 4.625 kB / 374.6 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.3948, allocations: 6.516 kB / 374.6 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004182/0.399, allocations: 3.293 MB / 377.9 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.399, allocations: 1.516 kB / 377.9 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.4007, allocations: 0.6769 MB / 378.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.421e-05/0.4008, allocations: 99.94 kB / 378.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/0.4009, allocations: 7.422 kB / 378.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.4012, allocations: 57.22 kB / 378.7 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.4014, allocations: 30.14 kB / 378.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.4014, allocations: 15.08 kB / 378.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.4016, allocations: 170.7 kB / 378.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4016, allocations: 1.375 kB / 378.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005172/0.4021, allocations: 83.78 kB / 379 MB, free: 14.42 MB / 302.1 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001504/0.4023, allocations: 104.6 kB / 379.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002596/0.4049, allocations: 0.7137 MB / 379.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4049, allocations: 0 / 379.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002049/0.407, allocations: 495.2 kB / 380.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.4074, allocations: 39.77 kB / 380.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.4092, allocations: 0.8216 MB / 381.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.4095, allocations: 0.7542 MB / 381.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001399/0.4096, allocations: 27.47 kB / 381.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.216e-05/0.4097, allocations: 18.72 kB / 381.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4097, allocations: 0 / 381.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of Templates: time 0.007915/0.4176, allocations: 3.32 MB / 385.3 MB, free: 12.83 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches