Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 106.3 kB / 17.74 MB, free: 5.336 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.00119/0.00119, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 51.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2356, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005025/0.2406, allocations: 3.964 MB / 405.4 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.2427, allocations: 1.422 MB / 406.8 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.2429, allocations: 11.94 kB / 406.8 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006217/0.2435, allocations: 253.9 kB / 407.1 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004666/0.244, allocations: 258.3 kB / 407.3 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000571/0.2446, allocations: 283.3 kB / 407.6 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006091/0.2452, allocations: 0.7163 MB / 408.3 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002442/0.2455, allocations: 166.2 kB / 408.5 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.2458, allocations: 275 kB / 408.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003219/0.2461, allocations: 302.7 kB / 409 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.544e-05/0.2462, allocations: 52 kB / 409.1 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.2464, allocations: 99.95 kB / 409.2 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.2465, allocations: 143.5 kB / 409.3 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002579/0.2468, allocations: 302.5 kB / 409.6 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006336/0.2474, allocations: 0.7045 MB / 410.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2474, allocations: 0 / 410.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2475, allocations: 3.938 kB / 410.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.2475, allocations: 0 / 410.3 MB, free: 15.93 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001481/0.249, allocations: 0.9375 MB / 411.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.249, allocations: 8.031 kB / 411.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.2491, allocations: 64.19 kB / 411.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004984/0.2496, allocations: 414.8 kB / 411.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.2496, allocations: 33.38 kB / 411.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-05/0.2497, allocations: 52.09 kB / 411.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007083/0.2504, allocations: 433.5 kB / 412.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.2504, allocations: 7.938 kB / 412.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.188e-05/0.2505, allocations: 20 kB / 412.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.2505, allocations: 12 kB / 412.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005879/0.2511, allocations: 311.8 kB / 412.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002204/0.2533, allocations: 1.695 MB / 414.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000638/0.254, allocations: 375.4 kB / 414.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/0.2543, allocations: 188.7 kB / 414.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.2543, allocations: 4 kB / 414.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004165/0.2547, allocations: 262.4 kB / 415.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.094e-06/0.2548, allocations: 0 / 415.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002081/0.2568, allocations: 1.014 MB / 416.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.501e-05/0.2569, allocations: 187.9 kB / 416.3 MB, free: 9.566 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/0.2575, allocations: 0.4978 MB / 416.8 MB, free: 9.062 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.2575, allocations: 29.7 kB / 416.8 MB, free: 9.027 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.2577, allocations: 260.4 kB / 417.1 MB, free: 8.766 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.293e-05/0.2578, allocations: 122.2 kB / 417.2 MB, free: 8.645 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.2579, allocations: 74.14 kB / 417.3 MB, free: 8.566 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.258, allocations: 358.8 kB / 417.6 MB, free: 8.207 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.2583, allocations: 120.8 kB / 417.7 MB, free: 8.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/0.2586, allocations: 217.3 kB / 417.9 MB, free: 7.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004609/0.2591, allocations: 265.3 kB / 418.2 MB, free: 7.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.2591, allocations: 8 kB / 418.2 MB, free: 7.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000776/0.2599, allocations: 476.7 kB / 418.7 MB, free: 7.078 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.2599, allocations: 4 kB / 418.7 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2599, allocations: 4 kB / 418.7 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004687/0.2604, allocations: 159.4 kB / 418.8 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.2606, allocations: 43.91 kB / 418.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004765/0.2654, allocations: 6.658 MB / 425.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/0.2658, allocations: 47.7 kB / 425.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.2658, allocations: 12 kB / 425.6 MB, free: 15.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,IdealGTOThyristor2.off,IdealThyristor2.off,$PRE.IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEvent,IdealGTOThyristor1.off,IdealThyristor1.fire,IdealThyristor1.off,$PRE.IdealThyristor1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002093/0.266, allocations: 192.4 kB / 425.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.177e-05/0.2661, allocations: 55.33 kB / 425.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.2662, allocations: 64.7 kB / 425.9 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.2662, allocations: 3.984 kB / 425.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.2662, allocations: 0 / 425.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.2664, allocations: 156.4 kB / 426.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.866e-05/0.2665, allocations: 12.12 kB / 426.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.2668, allocations: 31.97 kB / 426.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-05/0.2669, allocations: 39.94 kB / 426.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001281/0.2682, allocations: 0.5504 MB / 426.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000926/0.2691, allocations: 0.6643 MB / 427.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002474/0.2694, allocations: 131.9 kB / 427.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003587/0.2697, allocations: 363.1 kB / 427.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of Backend: time 3.6e-07/0.2697, allocations: 0 / 427.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.2717, allocations: 1.102 MB / 428.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of SimCode: time 0.001571/0.2733, allocations: 1.453 MB / 430.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of Templates: time 0.01427/0.2876, allocations: 8.939 MB / 439.3 MB, free: 1.938 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches