Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001638/0.001638, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.684/1.684, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007652/0.0007652, allocations: 98.72 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.031e-05/2.034e-05, allocations: 7.984 kB / 343.7 MB, free: 8.254 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0976/0.09763, allocations: 51.47 MB / 395.2 MB, free: 4.746 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3115/0.4091, allocations: 79.79 MB / 475 MB, free: 12.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.4094, allocations: 68.06 kB / 475 MB, free: 12.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01176/0.4211, allocations: 5.184 MB / 480.2 MB, free: 9.055 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4212, allocations: 0.8438 kB / 480.2 MB, free: 9.055 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.125e-05/0.4212, allocations: 8 kB / 480.2 MB, free: 9.047 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.0006529/0.4219, allocations: 0.534 MB / 480.7 MB, free: 8.492 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.4219, allocations: 8.031 kB / 480.8 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.4221, allocations: 51.52 kB / 480.8 MB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.4224, allocations: 267.7 kB / 481.1 MB, free: 8.164 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.4224, allocations: 8 kB / 481.1 MB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.4224, allocations: 23.55 kB / 481.1 MB, free: 8.137 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002861/0.4227, allocations: 174.8 kB / 481.3 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.423, allocations: 234.6 kB / 481.5 MB, free: 7.852 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.4231, allocations: 4 kB / 481.5 MB, free: 7.848 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.4231, allocations: 4 kB / 481.5 MB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.4231, allocations: 4 kB / 481.5 MB, free: 7.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.4244, allocations: 1.089 MB / 482.6 MB, free: 6.887 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/0.4248, allocations: 203.7 kB / 482.8 MB, free: 6.762 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.425, allocations: 135.2 kB / 482.9 MB, free: 6.668 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.425, allocations: 192 / 482.9 MB, free: 6.668 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.4252, allocations: 153.6 kB / 483.1 MB, free: 6.531 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/0.4252, allocations: 0 / 483.1 MB, free: 6.531 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004387/0.4257, allocations: 251 kB / 483.3 MB, free: 6.332 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.4257, allocations: 132.2 kB / 483.5 MB, free: 6.176 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.4259, allocations: 198.7 kB / 483.6 MB, free: 6.008 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.4259, allocations: 29.2 kB / 483.7 MB, free: 5.977 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.385e-05/0.426, allocations: 167.7 kB / 483.8 MB, free: 5.832 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.426, allocations: 62.08 kB / 483.9 MB, free: 5.777 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/0.426, allocations: 4.031 kB / 483.9 MB, free: 5.773 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.815e-05/0.4261, allocations: 333.2 kB / 484.2 MB, free: 5.449 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.836e-05/0.4262, allocations: 59.94 kB / 484.3 MB, free: 5.418 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.4263, allocations: 105.1 kB / 484.4 MB, free: 5.328 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.4264, allocations: 69.14 kB / 484.5 MB, free: 5.285 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4264, allocations: 0 / 484.5 MB, free: 5.285 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003198/0.4267, allocations: 245.8 kB / 484.7 MB, free: 5.105 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.4268, allocations: 11.94 kB / 484.7 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4268, allocations: 0 / 484.7 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002805/0.4271, allocations: 92.8 kB / 484.8 MB, free: 5.027 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.4272, allocations: 32.03 kB / 484.8 MB, free: 4.996 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.4287, allocations: 1.928 MB / 486.8 MB, free: 3.254 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.4289, allocations: 31.92 kB / 486.8 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.429, allocations: 9.688 kB / 486.8 MB, free: 3.215 MB / 346.7 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,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 7.151e-05/0.429, allocations: 109.9 kB / 486.9 MB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.4291, allocations: 27.67 kB / 486.9 MB, free: 3.078 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.127e-05/0.4291, allocations: 24.45 kB / 487 MB, free: 3.062 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4291, allocations: 4 kB / 487 MB, free: 3.059 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.4291, allocations: 112 / 487 MB, free: 3.059 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4292, allocations: 11.05 kB / 487 MB, free: 3.051 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006696/0.4298, allocations: 0.7243 MB / 487.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4298, allocations: 0 / 487.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.43, allocations: 19.98 kB / 487.7 MB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001993/0.4302, allocations: 86 kB / 487.8 MB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.4302, allocations: 4.031 kB / 487.8 MB, free: 2.344 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/0.4316, allocations: 1.875 MB / 489.7 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4316, allocations: 0 / 489.7 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.432, allocations: 435.9 kB / 490.1 MB, free: 296 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-05/0.4321, allocations: 112.5 kB / 490.2 MB, free: 176 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.4321, allocations: 4 kB / 490.2 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.4323, allocations: 15.98 kB / 490.2 MB, free: 156 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.948e-05/0.4324, allocations: 42.7 kB / 490.3 MB, free: 120 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.4324, allocations: 8.062 kB / 490.3 MB, free: 112 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001231/0.4325, allocations: 154.9 kB / 490.4 MB, free: 15.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4326, allocations: 0 / 490.4 MB, free: 15.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004341/0.433, allocations: 91.69 kB / 490.5 MB, free: 15.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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) * 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.0001608/0.4332, allocations: 98.56 kB / 490.6 MB, free: 15.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005676/0.4337, allocations: 328.4 kB / 490.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4338, allocations: 0 / 490.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000313/0.4341, allocations: 236.8 kB / 491.2 MB, free: 15.33 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.4344, allocations: 49.08 kB / 491.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008591/0.4353, allocations: 388.8 kB / 491.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.4357, allocations: 0.7717 MB / 492.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.562e-05/0.4358, allocations: 30 kB / 492.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.4358, allocations: 15.44 kB / 492.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4358, allocations: 0 / 492.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of Templates: time 0.007174/0.443, allocations: 3.842 MB / 496.3 MB, free: 10.38 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches