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.001492/0.001492, allocations: 109.7 kB / 18.4 MB, free: 4.668 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.001638/0.001638, allocations: 187 kB / 19.34 MB, free: 3.742 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.241/1.241, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001166/0.001166, allocations: 51.92 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07306/0.07424, allocations: 46.61 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003558/0.07783, allocations: 2.698 MB / 378.5 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.07893, allocations: 0.7408 MB / 379.3 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.07906, allocations: 7.938 kB / 379.3 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.0792, allocations: 39.62 kB / 379.3 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.07937, allocations: 91.2 kB / 379.4 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.07965, allocations: 103.8 kB / 379.5 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003749/0.08004, allocations: 386.5 kB / 379.9 MB, free: 500 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.08021, allocations: 80.56 kB / 380 MB, free: 420 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.08043, allocations: 155.5 kB / 380.1 MB, free: 264 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.08065, allocations: 167.3 kB / 380.3 MB, free: 96 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.686e-05/0.08071, allocations: 32 kB / 380.3 MB, free: 64 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.129e-05/0.08078, allocations: 32 kB / 380.3 MB, free: 32 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1428/0.2236, allocations: 72.19 kB / 380.4 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002379/0.2239, allocations: 152.5 kB / 380.6 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004631/0.2243, allocations: 365.4 kB / 380.9 MB, free: 10.13 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2243, allocations: 0 / 380.9 MB, free: 10.13 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2244, allocations: 2.062 kB / 380.9 MB, free: 10.13 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.2244, allocations: 0 / 380.9 MB, free: 10.13 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.001524/0.2259, allocations: 0.677 MB / 381.6 MB, free: 9.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2259, allocations: 13.48 kB / 381.6 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.087e-05/0.226, allocations: 32.38 kB / 381.6 MB, free: 9.625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.2264, allocations: 271.4 kB / 381.9 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.2264, allocations: 16.5 kB / 381.9 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.467e-05/0.2264, allocations: 20.59 kB / 381.9 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007497/0.2272, allocations: 309.7 kB / 382.2 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.2272, allocations: 9.25 kB / 382.2 MB, free: 9.336 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.2273, allocations: 8.094 kB / 382.3 MB, free: 9.336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.2273, allocations: 5.297 kB / 382.3 MB, free: 9.336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009149/0.2282, allocations: 294.4 kB / 382.6 MB, free: 9.336 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.2298, allocations: 0.9661 MB / 383.5 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003177/0.233, allocations: 498.9 kB / 384 MB, free: 8.848 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006199/0.2337, allocations: 209 kB / 384.2 MB, free: 8.836 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.2337, allocations: 7.5 kB / 384.2 MB, free: 8.836 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005745/0.2343, allocations: 235.5 kB / 384.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.074e-06/0.2343, allocations: 3.703 kB / 384.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001491/0.2358, allocations: 466.6 kB / 384.9 MB, free: 8.695 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.2358, allocations: 115 kB / 385 MB, free: 8.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.236, allocations: 231.9 kB / 385.2 MB, free: 8.465 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.2361, allocations: 33.17 kB / 385.3 MB, free: 8.434 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.896e-05/0.2362, allocations: 156.2 kB / 385.4 MB, free: 8.328 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.013e-05/0.2362, allocations: 74.89 kB / 385.5 MB, free: 8.281 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.2363, allocations: 48.36 kB / 385.5 MB, free: 8.266 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.773e-05/0.2364, allocations: 335.9 kB / 385.9 MB, free: 7.953 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/0.2369, allocations: 139.9 kB / 386 MB, free: 7.949 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004626/0.2373, allocations: 182.1 kB / 386.2 MB, free: 7.906 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008728/0.2382, allocations: 313.7 kB / 386.5 MB, free: 7.844 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2382, allocations: 10.69 kB / 386.5 MB, free: 7.836 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001045/0.2393, allocations: 406.4 kB / 386.9 MB, free: 7.727 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.2393, allocations: 32.92 kB / 386.9 MB, free: 7.695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.2393, allocations: 3.938 kB / 386.9 MB, free: 7.691 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.2393, allocations: 2.75 kB / 386.9 MB, free: 7.691 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/0.2412, allocations: 243 kB / 387.2 MB, free: 7.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003969/0.2452, allocations: 3.396 MB / 390.6 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003674/0.2456, allocations: 54.5 kB / 390.6 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.2456, allocations: 13.41 kB / 390.6 MB, free: 4.531 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.0001318/0.2457, allocations: 146 kB / 390.8 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.2458, allocations: 25.23 kB / 390.8 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.033e-05/0.2459, allocations: 33.48 kB / 390.8 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.2459, allocations: 1.766 kB / 390.8 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2459, allocations: 0.5156 kB / 390.8 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.2459, allocations: 98.19 kB / 390.9 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.246, allocations: 7.031 kB / 390.9 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/0.2463, allocations: 42.11 kB / 391 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.584e-05/0.2464, allocations: 30.44 kB / 391 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002937/0.2494, allocations: 0.7302 MB / 391.7 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001432/0.2508, allocations: 0.7368 MB / 392.5 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004581/0.2513, allocations: 156.4 kB / 392.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001238/0.2514, allocations: 167.4 kB / 392.8 MB, free: 3.395 MB / 318.1 MB Notification: Performance of Backend: time 4.01e-07/0.2514, allocations: 8.406 kB / 392.8 MB, free: 3.391 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002549/0.254, allocations: 499.8 kB / 393.3 MB, free: 3.203 MB / 318.1 MB Notification: Performance of SimCode: time 0.0009104/0.2549, allocations: 1.022 MB / 394.3 MB, free: 2.363 MB / 318.1 MB Notification: Performance of Templates: time 0.007585/0.2625, allocations: 4.331 MB / 398.6 MB, free: 1.598 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