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") [: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 3.2.3+maint.om/package.mo): time 0.001411/0.001415, allocations: 174.1 kB / 8.474 MB, free: 1.863 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.253/1.253, allocations: 205.2 MB / 214.1 MB, free: 5.418 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009354/0.0009355, allocations: 82.27 kB / 262.1 MB, free: 5.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.003e-06/7.023e-06, allocations: 4 kB / 315 MB, free: 41.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07774/0.07776, allocations: 47.57 MB / 362.5 MB, free: 9.992 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2661/0.3439, allocations: 77.5 MB / 440 MB, free: 10.83 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.3442, allocations: 70.11 kB / 440.1 MB, free: 10.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01268/0.3569, allocations: 4.644 MB / 444.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.357, allocations: 7.781 kB / 444.8 MB, free: 10.45 MB / 314.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.0007428/0.3577, allocations: 0.5395 MB / 445.3 MB, free: 10.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3578, allocations: 12.05 kB / 445.3 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.388e-05/0.3578, allocations: 34.97 kB / 445.3 MB, free: 10 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.3581, allocations: 277.6 kB / 445.6 MB, free: 9.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.3582, allocations: 7.688 kB / 445.6 MB, free: 9.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.3582, allocations: 20.28 kB / 445.6 MB, free: 9.766 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003339/0.3586, allocations: 173.9 kB / 445.8 MB, free: 9.766 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.3589, allocations: 236.3 kB / 446 MB, free: 9.707 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.359, allocations: 0 / 446 MB, free: 9.707 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.359, allocations: 7.906 kB / 446 MB, free: 9.699 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.359, allocations: 7.688 kB / 446.1 MB, free: 9.699 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.3606, allocations: 1.092 MB / 447.1 MB, free: 9.129 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003431/0.361, allocations: 177.6 kB / 447.3 MB, free: 9.102 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.3612, allocations: 135.1 kB / 447.5 MB, free: 9.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.3613, allocations: 4.031 kB / 447.5 MB, free: 9.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/0.3615, allocations: 151.8 kB / 447.6 MB, free: 9.004 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.3615, allocations: 224 / 447.6 MB, free: 9.004 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005014/0.362, allocations: 245 kB / 447.8 MB, free: 8.918 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.362, allocations: 139.5 kB / 448 MB, free: 8.762 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.3622, allocations: 197 kB / 448.2 MB, free: 8.652 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.3623, allocations: 29.73 kB / 448.2 MB, free: 8.617 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.3623, allocations: 146.5 kB / 448.3 MB, free: 8.492 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.3624, allocations: 69.23 kB / 448.4 MB, free: 8.445 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.3624, allocations: 0 / 448.4 MB, free: 8.445 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.321e-05/0.3625, allocations: 330.4 kB / 448.7 MB, free: 8.125 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.792e-05/0.3626, allocations: 59.44 kB / 448.8 MB, free: 8.125 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.3627, allocations: 120.4 kB / 448.9 MB, free: 8.062 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.3628, allocations: 61.08 kB / 449 MB, free: 8.059 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3628, allocations: 0 / 449 MB, free: 8.059 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003427/0.3632, allocations: 248 kB / 449.2 MB, free: 7.988 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3632, allocations: 9.688 kB / 449.2 MB, free: 7.988 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3632, allocations: 0 / 449.2 MB, free: 7.988 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003239/0.3635, allocations: 98.61 kB / 449.3 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.3637, allocations: 26.92 kB / 449.3 MB, free: 7.953 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/0.3654, allocations: 1.861 MB / 451.2 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.3657, allocations: 35.11 kB / 451.2 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.3657, allocations: 7.25 kB / 451.2 MB, free: 6.539 MB / 314.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 9.015e-05/0.3658, allocations: 108.9 kB / 451.4 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.3658, allocations: 27.23 kB / 451.4 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.206e-05/0.3659, allocations: 29.56 kB / 451.4 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3659, allocations: 0 / 451.4 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.3659, allocations: 7.844 kB / 451.4 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3659, allocations: 3.984 kB / 451.4 MB, free: 6.398 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007395/0.3666, allocations: 0.7285 MB / 452.1 MB, free: 5.941 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3667, allocations: 0 / 452.1 MB, free: 5.941 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.3668, allocations: 23.2 kB / 452.2 MB, free: 5.934 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002269/0.367, allocations: 89.25 kB / 452.3 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.367, allocations: 0 / 452.3 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.3686, allocations: 1.813 MB / 454.1 MB, free: 4.512 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3686, allocations: 0 / 454.1 MB, free: 4.512 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004416/0.3691, allocations: 418.4 kB / 454.5 MB, free: 4.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.065e-05/0.3692, allocations: 125.8 kB / 454.6 MB, free: 4.203 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.3692, allocations: 0 / 454.6 MB, free: 4.203 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.3694, allocations: 27.64 kB / 454.6 MB, free: 4.191 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/0.3695, allocations: 22.67 kB / 454.7 MB, free: 4.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.3695, allocations: 6.656 kB / 454.7 MB, free: 4.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001128/0.3696, allocations: 152.5 kB / 454.8 MB, free: 4.098 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004325/0.3701, allocations: 80.75 kB / 454.9 MB, free: 4.086 MB / 314.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.0001896/0.3703, allocations: 111.2 kB / 455 MB, free: 19.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005027/0.3708, allocations: 295.6 kB / 455.3 MB, free: 19.86 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3708, allocations: 0 / 455.3 MB, free: 19.86 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.3711, allocations: 219.6 kB / 455.5 MB, free: 19.74 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.3714, allocations: 41.36 kB / 455.5 MB, free: 19.72 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009781/0.3724, allocations: 388.1 kB / 455.9 MB, free: 19.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004711/0.3729, allocations: 0.7876 MB / 456.7 MB, free: 18.76 MB / 330.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3729, allocations: 3.938 kB / 456.7 MB, free: 18.75 MB / 330.7 MB Notification: Performance of Templates: time 0.006697/0.3796, allocations: 3.97 MB / 460.7 MB, free: 16.77 MB / 330.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