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.001419/0.001425, allocations: 115.8 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001797/0.001798, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.64/1.64, allocations: 227.4 MB / 246.4 MB, free: 9.082 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 59.5 kB / 306.4 MB, free: 0.7148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1327, allocations: 50.54 MB / 357 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004258/0.137, allocations: 2.804 MB / 359.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.1384, allocations: 0.7518 MB / 360.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.1386, allocations: 7.938 kB / 360.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.1388, allocations: 35.75 kB / 360.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.1389, allocations: 71.39 kB / 360.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.1393, allocations: 95.89 kB / 360.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003996/0.1397, allocations: 386.5 kB / 361.1 MB, free: 10 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.14, allocations: 80.69 kB / 361.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002803/0.1402, allocations: 159.5 kB / 361.4 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.1405, allocations: 171.3 kB / 361.5 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.05e-05/0.1405, allocations: 36 kB / 361.6 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.372e-05/0.1406, allocations: 32 kB / 361.6 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.633e-05/0.1407, allocations: 75.73 kB / 361.7 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.1408, allocations: 159.2 kB / 361.8 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003768/0.1412, allocations: 367 kB / 362.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1412, allocations: 0 / 362.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1412, allocations: 0 / 362.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1412, allocations: 0 / 362.2 MB, free: 8.945 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.001754/0.143, allocations: 0.6881 MB / 362.9 MB, free: 8.203 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.167e-05/0.1431, allocations: 8.031 kB / 362.9 MB, free: 8.195 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002632/0.1433, allocations: 44.48 kB / 362.9 MB, free: 8.152 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.1437, allocations: 270.8 kB / 363.2 MB, free: 7.844 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.1438, allocations: 20.81 kB / 363.2 MB, free: 7.824 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.556e-05/0.1438, allocations: 20.28 kB / 363.2 MB, free: 7.805 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000775/0.1446, allocations: 314 kB / 363.5 MB, free: 7.484 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1446, allocations: 4 kB / 363.5 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/0.1447, allocations: 8 kB / 363.5 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.1447, allocations: 4 kB / 363.5 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009135/0.1456, allocations: 305.5 kB / 363.8 MB, free: 7.172 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.1473, allocations: 0.9609 MB / 364.8 MB, free: 6.145 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002909/0.1502, allocations: 0.4982 MB / 365.3 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006268/0.1509, allocations: 216.7 kB / 365.5 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.1509, allocations: 0 / 365.5 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007749/0.1517, allocations: 250.3 kB / 365.8 MB, free: 5.156 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.793e-06/0.1517, allocations: 0 / 365.8 MB, free: 5.156 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.00151/0.1532, allocations: 465.5 kB / 366.2 MB, free: 4.695 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.144e-05/0.1533, allocations: 114.8 kB / 366.3 MB, free: 4.559 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.1536, allocations: 240.9 kB / 366.6 MB, free: 4.309 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.1537, allocations: 33.7 kB / 366.6 MB, free: 4.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.1538, allocations: 164.1 kB / 366.7 MB, free: 4.105 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.348e-05/0.1539, allocations: 70.98 kB / 366.8 MB, free: 4.035 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.154, allocations: 49.94 kB / 366.9 MB, free: 3.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1541, allocations: 330.8 kB / 367.2 MB, free: 3.648 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004596/0.1546, allocations: 144.4 kB / 367.3 MB, free: 3.508 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004682/0.1551, allocations: 176.2 kB / 367.5 MB, free: 3.324 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008895/0.156, allocations: 329.7 kB / 367.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.156, allocations: 0 / 367.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001063/0.157, allocations: 402.8 kB / 368.2 MB, free: 2.582 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.816e-05/0.1571, allocations: 45.62 kB / 368.3 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1571, allocations: 0 / 368.3 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1571, allocations: 0 / 368.3 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/0.159, allocations: 267.6 kB / 368.5 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.304/0.463, allocations: 3.436 MB / 372 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005991/0.4636, allocations: 53.89 kB / 372 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.4637, allocations: 11.91 kB / 372 MB, free: 18.67 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 (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.0002472/0.4639, allocations: 142.8 kB / 372.2 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.072e-05/0.464, allocations: 28.64 kB / 372.2 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.84e-05/0.4641, allocations: 32.06 kB / 372.2 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.4641, allocations: 3.531 kB / 372.2 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4641, allocations: 3.828 kB / 372.2 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.4641, allocations: 2.547 kB / 372.2 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/0.4665, allocations: 0.9032 MB / 373.1 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.4665, allocations: 0.9688 kB / 373.1 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001957/0.4684, allocations: 261.5 kB / 373.4 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.4685, allocations: 1.062 kB / 373.4 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.4685, allocations: 9.172 kB / 373.4 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004861/0.4734, allocations: 3.45 MB / 376.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.4734, allocations: 1.375 kB / 376.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.4753, allocations: 0.6162 MB / 377.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.179e-05/0.4754, allocations: 98.67 kB / 377.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.09e-05/0.4754, allocations: 7.578 kB / 377.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000391/0.4758, allocations: 43.86 kB / 377.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.476, allocations: 30.86 kB / 377.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/0.476, allocations: 8.969 kB / 377.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002503/0.4763, allocations: 172.2 kB / 377.8 MB, free: 14.87 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4763, allocations: 0 / 377.8 MB, free: 14.87 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006249/0.4769, allocations: 80.61 kB / 377.9 MB, free: 14.87 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 (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.0002191/0.4771, allocations: 110.3 kB / 378 MB, free: 14.78 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002881/0.48, allocations: 0.5784 MB / 378.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.48, allocations: 1.406 kB / 378.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002175/0.4822, allocations: 386.8 kB / 379 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005115/0.4828, allocations: 46.33 kB / 379 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.4847, allocations: 0.7825 MB / 379.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.485, allocations: 0.7558 MB / 380.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001615/0.4852, allocations: 27.39 kB / 380.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.906e-05/0.4852, allocations: 23.95 kB / 380.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4852, allocations: 0 / 380.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of Templates: time 0.009996/0.4952, allocations: 3.641 MB / 384.2 MB, free: 13.18 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