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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 110.6 kB / 18.4 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 186.2 kB / 19.34 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.1 MB / 225.2 MB, free: 12.29 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002574/0.002574, allocations: 55.92 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1466, allocations: 46.62 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004004/0.1507, allocations: 2.702 MB / 378.5 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.152, allocations: 0.7408 MB / 379.3 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.1522, allocations: 4 kB / 379.3 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.1524, allocations: 47.58 kB / 379.3 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.1525, allocations: 79.27 kB / 379.4 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.1529, allocations: 107.7 kB / 379.5 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003987/0.1533, allocations: 378.5 kB / 379.9 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.1535, allocations: 88.53 kB / 380 MB, free: 432 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.1538, allocations: 147.5 kB / 380.1 MB, free: 284 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.154, allocations: 175.3 kB / 380.3 MB, free: 108 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.856e-05/0.154, allocations: 32 kB / 380.3 MB, free: 76 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.202e-05/0.1541, allocations: 32 kB / 380.3 MB, free: 44 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2641/0.4182, allocations: 74.44 kB / 380.4 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.4185, allocations: 152.1 kB / 380.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005107/0.419, allocations: 360.3 kB / 380.9 MB, free: 10.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4191, allocations: 0 / 380.9 MB, free: 10.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.4191, allocations: 2.562 kB / 380.9 MB, free: 10.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.4191, allocations: 0 / 380.9 MB, free: 10.68 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001521/0.4206, allocations: 0.6687 MB / 381.6 MB, free: 10.21 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.4207, allocations: 16.61 kB / 381.6 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.271e-05/0.4208, allocations: 31.69 kB / 381.6 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.4212, allocations: 271.1 kB / 381.9 MB, free: 9.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.4212, allocations: 14.39 kB / 381.9 MB, free: 9.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.651e-05/0.4213, allocations: 19.81 kB / 381.9 MB, free: 9.969 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007909/0.4221, allocations: 307.3 kB / 382.2 MB, free: 9.914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.4221, allocations: 7.562 kB / 382.2 MB, free: 9.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.4221, allocations: 10.16 kB / 382.2 MB, free: 9.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.4221, allocations: 9.938 kB / 382.3 MB, free: 9.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009569/0.4231, allocations: 287.8 kB / 382.5 MB, free: 9.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/0.4249, allocations: 0.9623 MB / 383.5 MB, free: 9.457 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002978/0.4279, allocations: 499.8 kB / 384 MB, free: 9.422 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006833/0.4286, allocations: 209.9 kB / 384.2 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.4286, allocations: 2.797 kB / 384.2 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006392/0.4293, allocations: 238.1 kB / 384.4 MB, free: 9.336 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.954e-06/0.4293, allocations: 0 / 384.4 MB, free: 9.336 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001607/0.4309, allocations: 468.6 kB / 384.9 MB, free: 9.258 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.431, allocations: 106.3 kB / 385 MB, free: 9.133 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.4312, allocations: 235.3 kB / 385.2 MB, free: 8.992 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.4313, allocations: 31.05 kB / 385.2 MB, free: 8.957 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.4314, allocations: 159.5 kB / 385.4 MB, free: 8.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.985e-05/0.4314, allocations: 72.31 kB / 385.5 MB, free: 8.766 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.4315, allocations: 47.25 kB / 385.5 MB, free: 8.734 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.017e-05/0.4316, allocations: 340.1 kB / 385.8 MB, free: 8.406 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004799/0.4321, allocations: 136.1 kB / 386 MB, free: 8.375 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005032/0.4326, allocations: 184.5 kB / 386.2 MB, free: 8.297 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009185/0.4335, allocations: 319.3 kB / 386.5 MB, free: 8.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4336, allocations: 1.781 kB / 386.5 MB, free: 8.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001144/0.4347, allocations: 407.2 kB / 386.9 MB, free: 8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.4348, allocations: 32.97 kB / 386.9 MB, free: 7.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.4348, allocations: 5 kB / 386.9 MB, free: 7.965 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.4348, allocations: 7.203 kB / 386.9 MB, free: 7.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/0.4364, allocations: 235.2 kB / 387.1 MB, free: 7.953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003976/0.4404, allocations: 3.401 MB / 390.5 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.4409, allocations: 54.44 kB / 390.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.4409, allocations: 7.5 kB / 390.6 MB, free: 4.809 MB / 318.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.0001609/0.4411, allocations: 142.9 kB / 390.7 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.4411, allocations: 24.11 kB / 390.8 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.767e-05/0.4412, allocations: 30.12 kB / 390.8 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.4412, allocations: 2.516 kB / 390.8 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4412, allocations: 5.188 kB / 390.8 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.4413, allocations: 105 kB / 390.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.4413, allocations: 3.125 kB / 390.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003287/0.4417, allocations: 39.66 kB / 391 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.4418, allocations: 29.92 kB / 391 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002885/0.4447, allocations: 0.7369 MB / 391.7 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001544/0.4462, allocations: 0.7334 MB / 392.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005088/0.4467, allocations: 154 kB / 392.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.4469, allocations: 170.4 kB / 392.8 MB, free: 3.668 MB / 318.1 MB Notification: Performance of Backend: time 4.3e-07/0.4469, allocations: 1.438 kB / 392.8 MB, free: 3.668 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002505/0.4494, allocations: 0.4914 MB / 393.3 MB, free: 3.477 MB / 318.1 MB Notification: Performance of SimCode: time 0.001211/0.4507, allocations: 1.02 MB / 394.3 MB, free: 2.648 MB / 318.1 MB Notification: Performance of Templates: time 0.01026/0.4609, allocations: 4.468 MB / 398.8 MB, free: 1.754 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches