Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.4 MB / 223.1 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008666/0.0008667, allocations: 98.91 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003302, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.335, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.106/0.4411, allocations: 78.33 MB / 454.1 MB, free: 2.344 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003504/0.4415, allocations: 67.97 kB / 454.2 MB, free: 2.277 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01455/0.4561, allocations: 4.966 MB / 459.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.4562, allocations: 0 / 459.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.715e-05/0.4562, allocations: 4 kB / 459.2 MB, free: 13.28 MB / 346.7 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.001337/0.4576, allocations: 0.5746 MB / 459.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.4576, allocations: 12.03 kB / 459.8 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.4578, allocations: 31.62 kB / 459.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004409/0.4582, allocations: 278.5 kB / 460.1 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.4583, allocations: 20.52 kB / 460.1 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.88e-05/0.4584, allocations: 24 kB / 460.1 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006159/0.459, allocations: 292.5 kB / 460.4 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.459, allocations: 4 kB / 460.4 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.612e-05/0.459, allocations: 8 kB / 460.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.4591, allocations: 8 kB / 460.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004494/0.4595, allocations: 206.1 kB / 460.6 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.4614, allocations: 1.153 MB / 461.8 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005556/0.462, allocations: 215.4 kB / 462 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.4621, allocations: 8.062 kB / 462 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003772/0.4624, allocations: 179.8 kB / 462.2 MB, free: 10.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 2.685e-06/0.4625, allocations: 0 / 462.2 MB, free: 10.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001588/0.464, allocations: 0.5122 MB / 462.7 MB, free: 9.547 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.4642, allocations: 114.8 kB / 462.8 MB, free: 9.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.4645, allocations: 216.1 kB / 463 MB, free: 9.195 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.536e-05/0.4645, allocations: 33.7 kB / 463 MB, free: 9.156 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.4647, allocations: 164.4 kB / 463.2 MB, free: 8.992 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.069e-05/0.4647, allocations: 78.98 kB / 463.3 MB, free: 8.914 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.098e-05/0.4648, allocations: 0 / 463.3 MB, free: 8.914 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.465, allocations: 334.8 kB / 463.6 MB, free: 8.578 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.4652, allocations: 76.47 kB / 463.7 MB, free: 8.504 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.4654, allocations: 128.4 kB / 463.8 MB, free: 8.359 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.4656, allocations: 81.14 kB / 463.9 MB, free: 8.281 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.4656, allocations: 0 / 463.9 MB, free: 8.281 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000541/0.4662, allocations: 296.8 kB / 464.2 MB, free: 7.984 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.4662, allocations: 11.95 kB / 464.2 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4662, allocations: 0 / 464.2 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003771/0.4666, allocations: 88.8 kB / 464.3 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.4668, allocations: 35.86 kB / 464.3 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/0.4692, allocations: 1.969 MB / 466.3 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.4695, allocations: 35.73 kB / 466.3 MB, free: 5.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.4695, allocations: 4 kB / 466.3 MB, free: 5.699 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$PRE.idealTriac.idealThyristor.off,idealTriac.idealThyristor.off,$PRE.idealTriac.idealThyristor1.off,idealTriac.idealThyristor1.off) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002046/0.4697, allocations: 153.8 kB / 466.5 MB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.05e-05/0.4698, allocations: 23.72 kB / 466.5 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.159e-05/0.4699, allocations: 30.17 kB / 466.5 MB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.4699, allocations: 4 kB / 466.5 MB, free: 5.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.4699, allocations: 0 / 466.5 MB, free: 5.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.4699, allocations: 0 / 466.5 MB, free: 5.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.4704, allocations: 357.3 kB / 466.9 MB, free: 5.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.4704, allocations: 0 / 466.9 MB, free: 5.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.4705, allocations: 23.98 kB / 466.9 MB, free: 5.059 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002988/0.4708, allocations: 96.84 kB / 467 MB, free: 4.961 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.4709, allocations: 0 / 467 MB, free: 4.961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00226/0.4731, allocations: 1.972 MB / 469 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4732, allocations: 0 / 469 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008053/0.474, allocations: 432.7 kB / 469.4 MB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.4741, allocations: 120.8 kB / 469.5 MB, free: 2.277 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.4742, allocations: 11.98 kB / 469.5 MB, free: 2.266 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.4744, allocations: 20.05 kB / 469.5 MB, free: 2.246 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.4745, allocations: 35.95 kB / 469.6 MB, free: 2.211 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.4745, allocations: 7.984 kB / 469.6 MB, free: 2.203 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001895/0.4747, allocations: 176.5 kB / 469.7 MB, free: 2.031 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4747, allocations: 0 / 469.7 MB, free: 2.031 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000459/0.4752, allocations: 87.84 kB / 469.8 MB, free: 1.945 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (idealTriac.capacitor.v) * Number of discrete variables: 5 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart,idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off) * Number of discrete states: 2 (idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002008/0.4754, allocations: 115.2 kB / 469.9 MB, free: 1.824 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007357/0.4761, allocations: 366.4 kB / 470.3 MB, free: 1.453 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4762, allocations: 0 / 470.3 MB, free: 1.453 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004263/0.4766, allocations: 275.5 kB / 470.6 MB, free: 1.172 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.4769, allocations: 45.27 kB / 470.6 MB, free: 1.129 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.4783, allocations: 0.7077 MB / 471.3 MB, free: 408 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.4787, allocations: 0.7677 MB / 472.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001735/0.4789, allocations: 30.27 kB / 472.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.229e-05/0.4789, allocations: 23.38 kB / 472.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of SimCode: time 3.3e-07/0.479, allocations: 0 / 472.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of Templates: time 0.01002/0.489, allocations: 4.302 MB / 476.4 MB, free: 11.27 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches