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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001118/0.001118, allocations: 204.4 kB / 8.543 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, allocations: 225.5 MB / 234.4 MB, free: 3.375 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009188/0.0009188, allocations: 97.97 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.284e-06/7.324e-06, allocations: 0 / 343.1 MB, free: 8.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1066, allocations: 51.47 MB / 394.6 MB, free: 5.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2539/0.3605, allocations: 79.73 MB / 474.3 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001822/0.3608, allocations: 71.98 kB / 474.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01157/0.3723, allocations: 4.905 MB / 479.3 MB, free: 9.707 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.3724, allocations: 4 kB / 479.3 MB, free: 9.703 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.0006528/0.373, allocations: 0.549 MB / 479.9 MB, free: 9.129 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.3731, allocations: 11.97 kB / 479.9 MB, free: 9.117 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.3732, allocations: 55.52 kB / 479.9 MB, free: 9.062 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.3735, allocations: 264.5 kB / 480.2 MB, free: 8.793 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.3735, allocations: 8 kB / 480.2 MB, free: 8.785 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.605e-05/0.3736, allocations: 16 kB / 480.2 MB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003005/0.3739, allocations: 170 kB / 480.4 MB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.3742, allocations: 243.2 kB / 480.6 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3742, allocations: 4 kB / 480.6 MB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.3743, allocations: 7.906 kB / 480.6 MB, free: 8.473 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3743, allocations: 4 kB / 480.6 MB, free: 8.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.3756, allocations: 1.089 MB / 481.7 MB, free: 7.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.3759, allocations: 181 kB / 481.9 MB, free: 7.391 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.3762, allocations: 130.2 kB / 482 MB, free: 7.301 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.3762, allocations: 4.125 kB / 482 MB, free: 7.297 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.3764, allocations: 150.8 kB / 482.2 MB, free: 7.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.252e-06/0.3764, allocations: 0 / 482.2 MB, free: 7.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004961/0.3769, allocations: 246.4 kB / 482.4 MB, free: 6.969 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.3769, allocations: 132.5 kB / 482.5 MB, free: 6.809 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.3771, allocations: 200 kB / 482.7 MB, free: 6.645 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.3771, allocations: 29.7 kB / 482.8 MB, free: 6.609 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.888e-05/0.3772, allocations: 148.6 kB / 482.9 MB, free: 6.473 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.3772, allocations: 64.7 kB / 483 MB, free: 6.418 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.3772, allocations: 0 / 483 MB, free: 6.418 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.632e-05/0.3773, allocations: 333.2 kB / 483.3 MB, free: 6.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.777e-05/0.3774, allocations: 60.06 kB / 483.4 MB, free: 6.059 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.3775, allocations: 107 kB / 483.5 MB, free: 5.969 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.3776, allocations: 61.23 kB / 483.5 MB, free: 5.934 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3776, allocations: 224 / 483.5 MB, free: 5.934 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003481/0.378, allocations: 265.4 kB / 483.8 MB, free: 5.738 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.378, allocations: 8 kB / 483.8 MB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.378, allocations: 0 / 483.8 MB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003313/0.3784, allocations: 83.94 kB / 483.9 MB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.3785, allocations: 31.73 kB / 483.9 MB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.3802, allocations: 1.856 MB / 485.8 MB, free: 3.922 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.3804, allocations: 31.89 kB / 485.8 MB, free: 3.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.3804, allocations: 8 kB / 485.8 MB, free: 3.883 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 8.533e-05/0.3805, allocations: 117.7 kB / 485.9 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.3806, allocations: 29.03 kB / 485.9 MB, free: 3.738 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.626e-05/0.3806, allocations: 28.48 kB / 486 MB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.3806, allocations: 4 kB / 486 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.3807, allocations: 0 / 486 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3807, allocations: 3.984 kB / 486 MB, free: 3.719 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007233/0.3814, allocations: 0.7269 MB / 486.7 MB, free: 3.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3814, allocations: 4.031 kB / 486.7 MB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.3815, allocations: 19.98 kB / 486.7 MB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002266/0.3818, allocations: 84.48 kB / 486.8 MB, free: 3.008 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.3818, allocations: 6.375 kB / 486.8 MB, free: 3.004 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/0.3832, allocations: 1.81 MB / 488.6 MB, free: 1.316 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3833, allocations: 4 kB / 488.6 MB, free: 1.312 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004186/0.3837, allocations: 427.2 kB / 489 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.051e-05/0.3838, allocations: 119.2 kB / 489.2 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.3838, allocations: 2.125 kB / 489.2 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.384, allocations: 23.95 kB / 489.2 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.974e-05/0.3841, allocations: 22.97 kB / 489.2 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.3841, allocations: 10.8 kB / 489.2 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.858e-05/0.3842, allocations: 152.1 kB / 489.4 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004063/0.3847, allocations: 83.78 kB / 489.5 MB, free: 0.5938 MB / 346.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.0001434/0.3848, allocations: 104.2 kB / 489.6 MB, free: 496 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004642/0.3853, allocations: 288.3 kB / 489.8 MB, free: 260 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3853, allocations: 3.938 kB / 489.8 MB, free: 256 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002579/0.3856, allocations: 215.2 kB / 490.1 MB, free: 68 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.3859, allocations: 41.64 kB / 490.1 MB, free: 28 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009616/0.3868, allocations: 401.2 kB / 490.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003595/0.3872, allocations: 0.7854 MB / 491.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3872, allocations: 0 / 491.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of Templates: time 0.008013/0.3952, allocations: 3.969 MB / 495.2 MB, free: 10.96 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