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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008758/0.0008758, allocations: 80.8 kB / 22.28 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008959/0.0008959, allocations: 168.7 kB / 25.7 MB, free: 8.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7943/0.7943, allocations: 158.6 MB / 187.6 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,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=5050,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118e-05/1.228e-05, allocations: 6.25 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.002496/0.002508, allocations: 2.856 MB / 254.4 MB, free: 4.383 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008908/0.003399, allocations: 0.7835 MB / 255.2 MB, free: 3.59 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.003502, allocations: 7.938 kB / 255.2 MB, free: 3.582 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.003621, allocations: 47.5 kB / 255.2 MB, free: 3.535 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.00376, allocations: 111 kB / 255.3 MB, free: 3.426 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.003972, allocations: 103.8 kB / 255.4 MB, free: 3.324 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003396/0.004312, allocations: 422 kB / 255.8 MB, free: 2.91 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.004457, allocations: 98.22 kB / 255.9 MB, free: 2.809 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.004652, allocations: 223.6 kB / 256.2 MB, free: 2.59 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.004799, allocations: 131.5 kB / 256.3 MB, free: 2.461 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.959e-05/0.004838, allocations: 40 kB / 256.3 MB, free: 2.422 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.279e-05/0.004871, allocations: 36 kB / 256.4 MB, free: 2.387 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.025e-05/0.004921, allocations: 75.75 kB / 256.4 MB, free: 2.312 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.557e-05/0.005007, allocations: 119.7 kB / 256.6 MB, free: 2.195 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.005227, allocations: 279.1 kB / 256.8 MB, free: 1.922 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.005229, allocations: 0 / 256.8 MB, free: 1.922 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.005229, allocations: 0 / 256.8 MB, free: 1.922 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.005233, allocations: 0 / 256.8 MB, free: 1.922 MB / 234.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.0005355/0.005768, allocations: 0.5202 MB / 257.3 MB, free: 1.379 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.005796, allocations: 15.98 kB / 257.4 MB, free: 1.363 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.523e-05/0.005852, allocations: 44.91 kB / 257.4 MB, free: 1.32 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.00603, allocations: 181.3 kB / 257.6 MB, free: 1.117 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.006046, allocations: 16.88 kB / 257.6 MB, free: 1.098 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.00608, allocations: 36.34 kB / 257.6 MB, free: 1.062 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.006309, allocations: 272.2 kB / 257.9 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.006318, allocations: 192 / 257.9 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.006334, allocations: 8.375 kB / 257.9 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.00634, allocations: 11.94 kB / 257.9 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.484e-05/0.006435, allocations: 71.41 kB / 258 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000779/0.007214, allocations: 0.7987 MB / 258.8 MB, free: 15.84 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.007441, allocations: 142.3 kB / 258.9 MB, free: 15.7 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.007554, allocations: 72.83 kB / 259 MB, free: 15.62 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.007571, allocations: 7.938 kB / 259 MB, free: 15.61 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.007704, allocations: 182.1 kB / 259.2 MB, free: 15.4 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.062e-06/0.007705, allocations: 0 / 259.2 MB, free: 15.4 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005609/0.008266, allocations: 302 kB / 259.5 MB, free: 15.09 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.008311, allocations: 132.5 kB / 259.6 MB, free: 14.93 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.008424, allocations: 213 kB / 259.8 MB, free: 14.71 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.00844, allocations: 29.7 kB / 259.8 MB, free: 14.68 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.289e-05/0.008503, allocations: 160.6 kB / 260 MB, free: 14.52 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.008543, allocations: 71.36 kB / 260.1 MB, free: 14.45 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.008597, allocations: 53.67 kB / 260.1 MB, free: 14.39 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.197e-05/0.008669, allocations: 342.7 kB / 260.5 MB, free: 14.05 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.229e-05/0.008701, allocations: 20 kB / 260.5 MB, free: 14.03 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.156e-05/0.008773, allocations: 132.5 kB / 260.6 MB, free: 13.87 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.508e-05/0.008868, allocations: 95.23 kB / 260.7 MB, free: 13.76 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.00887, allocations: 0 / 260.7 MB, free: 13.76 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001591/0.009029, allocations: 158.3 kB / 260.9 MB, free: 13.6 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.009039, allocations: 4.125 kB / 260.9 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.009043, allocations: 4 kB / 260.9 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001635/0.009207, allocations: 56.75 kB / 260.9 MB, free: 13.53 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.864e-05/0.009285, allocations: 35.92 kB / 261 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.01037, allocations: 1.61 MB / 262.6 MB, free: 11.8 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-05/0.01046, allocations: 27.88 kB / 262.6 MB, free: 11.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.745e-05/0.01054, allocations: 8 kB / 262.6 MB, free: 11.77 MB / 250.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,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 8.425e-05/0.01063, allocations: 125.8 kB / 262.7 MB, free: 11.63 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.01065, allocations: 27.91 kB / 262.8 MB, free: 11.61 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/0.01068, allocations: 34.27 kB / 262.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.01069, allocations: 4.031 kB / 262.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.01069, allocations: 4 kB / 262.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.01069, allocations: 0 / 262.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003632/0.01105, allocations: 459.7 kB / 263.2 MB, free: 11.08 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01106, allocations: 0 / 263.2 MB, free: 11.08 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-05/0.01111, allocations: 12 kB / 263.3 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001287/0.01124, allocations: 69.05 kB / 263.3 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.01125, allocations: 4 kB / 263.3 MB, free: 10.99 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009208/0.01217, allocations: 1.622 MB / 264.9 MB, free: 9.285 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01217, allocations: 4 kB / 265 MB, free: 9.281 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.01239, allocations: 270.6 kB / 265.2 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.01244, allocations: 43.69 kB / 265.3 MB, free: 8.953 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.01246, allocations: 8.062 kB / 265.3 MB, free: 8.945 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.429e-05/0.01255, allocations: 19.98 kB / 265.3 MB, free: 8.926 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.736e-05/0.01261, allocations: 31.94 kB / 265.3 MB, free: 8.895 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.01262, allocations: 4 kB / 265.3 MB, free: 8.891 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.161e-05/0.01267, allocations: 66.8 kB / 265.4 MB, free: 8.82 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01267, allocations: 0 / 265.4 MB, free: 8.82 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002539/0.01293, allocations: 87.89 kB / 265.5 MB, free: 8.734 MB / 250.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.pulseStart,idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off,idealTriac.fire1) * Number of discrete states: 2 (idealTriac.idealThyristor1.off,idealTriac.idealThyristor.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 (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 Backend phase and start with SimCode phase: time 8.236e-05/0.01301, allocations: 88.52 kB / 265.6 MB, free: 8.641 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002937/0.0133, allocations: 285.7 kB / 265.8 MB, free: 8.348 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.01331, allocations: 4 kB / 265.8 MB, free: 8.344 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.01347, allocations: 227.3 kB / 266.1 MB, free: 8.105 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.01366, allocations: 60.95 kB / 266.1 MB, free: 8.047 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007859/0.01445, allocations: 0.5532 MB / 266.7 MB, free: 7.465 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.132e-05/0.0145, allocations: 92.3 kB / 266.8 MB, free: 7.355 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.241e-05/0.01455, allocations: 14.3 kB / 266.8 MB, free: 7.34 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.01466, allocations: 95.34 kB / 266.9 MB, free: 7.246 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01466, allocations: 0 / 266.9 MB, free: 7.246 MB / 250.7 MB Notification: Performance of Templates: time 0.005946/0.02061, allocations: 4.836 MB / 271.7 MB, free: 2.457 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.486781605053693]