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.001535/0.001535, allocations: 112.1 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 206.8 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2324, allocations: 50.55 MB / 410 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003525/0.236, allocations: 2.773 MB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.2371, allocations: 0.7439 MB / 413.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.2373, allocations: 4 kB / 413.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.2374, allocations: 35.58 kB / 413.5 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.2376, allocations: 91.2 kB / 413.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.2379, allocations: 119.8 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003659/0.2383, allocations: 394.5 kB / 414.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.2385, allocations: 80.69 kB / 414.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.2387, allocations: 151.5 kB / 414.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.239, allocations: 171.3 kB / 414.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.355e-05/0.239, allocations: 35.94 kB / 414.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.865e-05/0.2391, allocations: 40 kB / 414.6 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.263e-05/0.2392, allocations: 75.73 kB / 414.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.2393, allocations: 151.2 kB / 414.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004064/0.2397, allocations: 378.4 kB / 415.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2398, allocations: 0 / 415.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2398, allocations: 0 / 415.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.2398, allocations: 4 kB / 415.2 MB, free: 12.34 MB / 334.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.2413, allocations: 0.6918 MB / 415.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.2414, allocations: 8.031 kB / 415.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.2416, allocations: 40.75 kB / 415.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.2419, allocations: 286.8 kB / 416.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.242, allocations: 12.81 kB / 416.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.397e-05/0.242, allocations: 28.36 kB / 416.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007274/0.2428, allocations: 310 kB / 416.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2428, allocations: 4 kB / 416.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.2428, allocations: 4 kB / 416.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.2428, allocations: 4 kB / 416.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000938/0.2438, allocations: 305.5 kB / 416.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.2454, allocations: 0.9649 MB / 417.8 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003011/0.2484, allocations: 0.4982 MB / 418.3 MB, free: 9.027 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000606/0.249, allocations: 212.7 kB / 418.5 MB, free: 8.816 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.2491, allocations: 4 kB / 418.5 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000583/0.2497, allocations: 248.7 kB / 418.8 MB, free: 8.551 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/0.2497, allocations: 0 / 418.8 MB, free: 8.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001488/0.2512, allocations: 472 kB / 419.2 MB, free: 8.086 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.2512, allocations: 110.8 kB / 419.3 MB, free: 7.953 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.2515, allocations: 237 kB / 419.6 MB, free: 7.715 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.2515, allocations: 29.7 kB / 419.6 MB, free: 7.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.2516, allocations: 160.3 kB / 419.7 MB, free: 7.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.329e-05/0.2517, allocations: 83.36 kB / 419.8 MB, free: 7.438 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.2518, allocations: 45.94 kB / 419.9 MB, free: 7.387 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2519, allocations: 334.8 kB / 420.2 MB, free: 7.051 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004639/0.2524, allocations: 136.4 kB / 420.3 MB, free: 6.918 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004755/0.2529, allocations: 188.2 kB / 420.5 MB, free: 6.723 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008723/0.2538, allocations: 324 kB / 420.8 MB, free: 6.391 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2538, allocations: 0 / 420.8 MB, free: 6.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001048/0.2548, allocations: 406.9 kB / 421.2 MB, free: 5.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/0.2549, allocations: 37.64 kB / 421.3 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2549, allocations: 4.062 kB / 421.3 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.2549, allocations: 4 kB / 421.3 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/0.2567, allocations: 267.6 kB / 421.5 MB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004602/0.2613, allocations: 3.443 MB / 425 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.2617, allocations: 55.81 kB / 425 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.2618, allocations: 11.98 kB / 425 MB, free: 1.883 MB / 334.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.0001415/0.2619, allocations: 141.8 kB / 425.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/0.262, allocations: 27.81 kB / 425.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.672e-05/0.262, allocations: 34.16 kB / 425.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.262, allocations: 7.938 kB / 425.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.2621, allocations: 0 / 425.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.804e-05/0.2621, allocations: 108.8 kB / 425.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.2622, allocations: 8 kB / 425.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/0.2625, allocations: 39.95 kB / 425.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.919e-05/0.2626, allocations: 31.91 kB / 425.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002995/0.2656, allocations: 0.7729 MB / 426.2 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001524/0.2671, allocations: 0.7359 MB / 426.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004675/0.2676, allocations: 159.9 kB / 427.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.2678, allocations: 172.5 kB / 427.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of Backend: time 2.9e-07/0.2678, allocations: 0 / 427.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002601/0.2704, allocations: 0.5365 MB / 427.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of SimCode: time 0.001031/0.2714, allocations: 1.024 MB / 428.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of Templates: time 0.00766/0.2791, allocations: 4.426 MB / 433.3 MB, free: 9.574 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches