Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.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.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 110.9 kB / 17.75 MB, free: 5.309 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.001083/0.001083, allocations: 186.6 kB / 18.67 MB, free: 4.395 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.365/1.365, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001016, allocations: 43.94 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2426, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.00395/0.2466, allocations: 2.921 MB / 404.3 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.2478, allocations: 0.7284 MB / 405.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.2479, allocations: 4 kB / 405.1 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.2481, allocations: 55.5 kB / 405.1 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.2483, allocations: 103.1 kB / 405.2 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.2486, allocations: 95.77 kB / 405.3 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003821/0.249, allocations: 406.3 kB / 405.7 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002232/0.2492, allocations: 127.2 kB / 405.8 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.2494, allocations: 163.4 kB / 406 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.2496, allocations: 159.4 kB / 406.2 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.304e-05/0.2497, allocations: 36 kB / 406.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.953e-05/0.2498, allocations: 36 kB / 406.2 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.226e-05/0.2498, allocations: 83.69 kB / 406.3 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.25, allocations: 175.2 kB / 406.5 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004023/0.2504, allocations: 431.7 kB / 406.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2504, allocations: 3.938 kB / 406.9 MB, free: 3.352 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2504, allocations: 0 / 406.9 MB, free: 3.352 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.2504, allocations: 0 / 406.9 MB, free: 3.352 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001004/0.2515, allocations: 0.6207 MB / 407.5 MB, free: 2.684 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2515, allocations: 8.031 kB / 407.5 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.189e-05/0.2516, allocations: 36.47 kB / 407.6 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.2519, allocations: 279.7 kB / 407.8 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.252, allocations: 20.94 kB / 407.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.252, allocations: 24.38 kB / 407.9 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004858/0.2525, allocations: 288.9 kB / 408.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2526, allocations: 0 / 408.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.2526, allocations: 15.94 kB / 408.2 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.2526, allocations: 4 kB / 408.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003816/0.253, allocations: 202.2 kB / 408.4 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.2546, allocations: 1.152 MB / 409.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004762/0.255, allocations: 228.2 kB / 409.8 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.2554, allocations: 136.8 kB / 409.9 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.2554, allocations: 4 kB / 409.9 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002725/0.2557, allocations: 170.8 kB / 410.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.2557, allocations: 0 / 410.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.001374/0.2571, allocations: 0.5207 MB / 410.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.2571, allocations: 132.5 kB / 410.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.2574, allocations: 237 kB / 410.9 MB, free: 15.03 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.2574, allocations: 33.7 kB / 411 MB, free: 14.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.818e-05/0.2575, allocations: 164.4 kB / 411.1 MB, free: 14.83 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.365e-05/0.2576, allocations: 74.95 kB / 411.2 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.297e-05/0.2577, allocations: 49.61 kB / 411.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.2578, allocations: 338.8 kB / 411.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.2579, allocations: 79.91 kB / 411.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.2581, allocations: 125.1 kB / 411.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.2584, allocations: 179.3 kB / 412 MB, free: 13.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2584, allocations: 0 / 412 MB, free: 13.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004915/0.2589, allocations: 290 kB / 412.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.2589, allocations: 8 kB / 412.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.2589, allocations: 0 / 412.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003148/0.2593, allocations: 92.89 kB / 412.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.2594, allocations: 31.92 kB / 412.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.2616, allocations: 2.138 MB / 414.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.2618, allocations: 39.8 kB / 414.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.2618, allocations: 11.98 kB / 414.6 MB, free: 11.19 MB / 334.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: 8 ($whenCondition1,idealTriac.fire1,idealTriac.idealThyristor1.off,$PRE.idealTriac.idealThyristor1.off,idealTriac.idealThyristor.off,$PRE.idealTriac.idealThyristor.off,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001463/0.262, allocations: 146.5 kB / 414.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.262, allocations: 27.66 kB / 414.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.046e-05/0.2621, allocations: 34.17 kB / 414.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2621, allocations: 0 / 414.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2621, allocations: 0 / 414.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.2622, allocations: 120.9 kB / 414.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.2623, allocations: 4 kB / 414.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.2625, allocations: 23.98 kB / 414.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.641e-05/0.2625, allocations: 15.97 kB / 414.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008381/0.2634, allocations: 451.8 kB / 415.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005797/0.264, allocations: 0.541 MB / 415.9 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001525/0.2641, allocations: 79.98 kB / 416 MB, free: 9.715 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001411/0.2643, allocations: 172.5 kB / 416.2 MB, free: 9.547 MB / 334.1 MB Notification: Performance of Backend: time 3.91e-07/0.2643, allocations: 4 kB / 416.2 MB, free: 9.543 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008612/0.2652, allocations: 368.8 kB / 416.5 MB, free: 9.16 MB / 334.1 MB Notification: Performance of SimCode: time 0.001076/0.2663, allocations: 1.083 MB / 417.6 MB, free: 8.035 MB / 334.1 MB Notification: Performance of Templates: time 0.008144/0.2744, allocations: 4.688 MB / 422.3 MB, free: 3.414 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches