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.0009524/0.0009524, allocations: 85.95 kB / 23 MB, free: 1.504 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.001244/0.001244, allocations: 172.1 kB / 26.39 MB, free: 7.988 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.9545/0.9545, allocations: 158.6 MB / 188.3 MB, free: 2.82 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.382e-06/1.382e-06, allocations: 3.938 kB / 252.3 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.937e-05, allocations: 6.25 kB / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.003152/0.003171, allocations: 2.852 MB / 255.1 MB, free: 4.371 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009719/0.004143, allocations: 0.7565 MB / 255.9 MB, free: 3.605 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.004258, allocations: 7.938 kB / 255.9 MB, free: 3.598 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.004389, allocations: 51.5 kB / 255.9 MB, free: 3.547 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.004525, allocations: 103 kB / 256 MB, free: 3.445 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.004757, allocations: 115.7 kB / 256.1 MB, free: 3.332 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000304/0.005061, allocations: 426 kB / 256.6 MB, free: 2.914 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.005216, allocations: 79.67 kB / 256.6 MB, free: 2.832 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.005427, allocations: 231.5 kB / 256.9 MB, free: 2.605 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.00558, allocations: 127.6 kB / 257 MB, free: 2.48 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.005619, allocations: 36 kB / 257 MB, free: 2.445 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.395e-05/0.005653, allocations: 36 kB / 257.1 MB, free: 2.41 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/0.005701, allocations: 79.67 kB / 257.1 MB, free: 2.332 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.882e-05/0.00579, allocations: 127.7 kB / 257.3 MB, free: 2.207 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.00603, allocations: 271.1 kB / 257.5 MB, free: 1.941 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.006032, allocations: 0 / 257.5 MB, free: 1.941 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.006033, allocations: 0 / 257.5 MB, free: 1.941 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.006038, allocations: 0 / 257.5 MB, free: 1.941 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.0006306/0.006669, allocations: 0.6488 MB / 258.2 MB, free: 1.254 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.0067, allocations: 15.98 kB / 258.2 MB, free: 1.238 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.909e-05/0.006769, allocations: 64.7 kB / 258.3 MB, free: 1.176 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.006984, allocations: 216 kB / 258.5 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.007012, allocations: 20.88 kB / 258.5 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.132e-05/0.007063, allocations: 24.38 kB / 258.5 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.007343, allocations: 272.7 kB / 258.8 MB, free: 0.5898 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.007353, allocations: 192 / 258.8 MB, free: 0.5898 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.007372, allocations: 16.36 kB / 258.8 MB, free: 0.5742 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.00738, allocations: 11.94 kB / 258.8 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.007491, allocations: 87.36 kB / 258.9 MB, free: 492 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009774/0.008468, allocations: 1.049 MB / 259.9 MB, free: 15.37 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.008723, allocations: 159 kB / 260.1 MB, free: 15.2 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.008847, allocations: 79.64 kB / 260.2 MB, free: 15.12 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.008864, allocations: 7.938 kB / 260.2 MB, free: 15.11 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.009025, allocations: 199.1 kB / 260.4 MB, free: 14.88 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.192e-06/0.009026, allocations: 0 / 260.4 MB, free: 14.88 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006586/0.009685, allocations: 336.8 kB / 260.7 MB, free: 14.54 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.009735, allocations: 132.5 kB / 260.8 MB, free: 14.38 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.009881, allocations: 268.2 kB / 261.1 MB, free: 14.1 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.0099, allocations: 33.69 kB / 261.1 MB, free: 14.06 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.094e-05/0.009991, allocations: 223.3 kB / 261.3 MB, free: 13.84 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.01003, allocations: 67.41 kB / 261.4 MB, free: 13.77 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.2e-05/0.01009, allocations: 59.28 kB / 261.5 MB, free: 13.7 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.01021, allocations: 0.5118 MB / 262 MB, free: 13.18 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.035e-05/0.01025, allocations: 23.98 kB / 262 MB, free: 13.16 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/0.01059, allocations: 149.4 kB / 262.1 MB, free: 12.97 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.01069, allocations: 110.5 kB / 262.3 MB, free: 12.85 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.0107, allocations: 0 / 262.3 MB, free: 12.85 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002155/0.01091, allocations: 189.1 kB / 262.4 MB, free: 12.65 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.01092, allocations: 8.125 kB / 262.4 MB, free: 12.64 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.01093, allocations: 4 kB / 262.5 MB, free: 12.64 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001891/0.01112, allocations: 71.55 kB / 262.5 MB, free: 12.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.825e-05/0.0112, allocations: 31.92 kB / 262.6 MB, free: 12.54 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.01254, allocations: 2.302 MB / 264.9 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.223e-05/0.01264, allocations: 23.88 kB / 264.9 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.01265, allocations: 12 kB / 264.9 MB, free: 10.09 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 0.0001047/0.01275, allocations: 172.5 kB / 265.1 MB, free: 9.91 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.01278, allocations: 27.86 kB / 265.1 MB, free: 9.883 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.725e-05/0.01282, allocations: 38.27 kB / 265.1 MB, free: 9.84 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01282, allocations: 4.031 kB / 265.1 MB, free: 9.836 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.01283, allocations: 0 / 265.1 MB, free: 9.836 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.01283, allocations: 4 kB / 265.1 MB, free: 9.832 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004674/0.0133, allocations: 0.6295 MB / 265.8 MB, free: 9.16 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.0133, allocations: 3.938 kB / 265.8 MB, free: 9.156 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.446e-05/0.01336, allocations: 15.98 kB / 265.8 MB, free: 9.141 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001384/0.0135, allocations: 75.7 kB / 265.9 MB, free: 9.062 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.01351, allocations: 4 kB / 265.9 MB, free: 9.059 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.01474, allocations: 2.317 MB / 268.2 MB, free: 6.633 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01474, allocations: 3.938 kB / 268.2 MB, free: 6.629 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.01503, allocations: 360.7 kB / 268.5 MB, free: 6.25 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-05/0.0151, allocations: 59.77 kB / 268.6 MB, free: 6.191 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.01512, allocations: 4 kB / 268.6 MB, free: 6.188 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.114e-05/0.01521, allocations: 19.98 kB / 268.6 MB, free: 6.168 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.136e-05/0.01528, allocations: 31.94 kB / 268.6 MB, free: 6.137 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.01529, allocations: 4 kB / 268.6 MB, free: 6.133 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.979e-05/0.01538, allocations: 189.1 kB / 268.8 MB, free: 5.945 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01538, allocations: 0 / 268.8 MB, free: 5.945 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003103/0.01569, allocations: 91.84 kB / 268.9 MB, free: 5.855 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 0.0001279/0.01582, allocations: 114.8 kB / 269 MB, free: 5.738 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006016/0.01642, allocations: 332 kB / 269.4 MB, free: 5.395 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01642, allocations: 0 / 269.4 MB, free: 5.395 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.01662, allocations: 293.3 kB / 269.6 MB, free: 5.086 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.01687, allocations: 61.27 kB / 269.7 MB, free: 5.027 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008407/0.01771, allocations: 0.5572 MB / 270.3 MB, free: 4.438 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.19e-05/0.01776, allocations: 88.31 kB / 270.3 MB, free: 4.332 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.594e-05/0.01782, allocations: 18.28 kB / 270.4 MB, free: 4.316 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.01793, allocations: 122.2 kB / 270.5 MB, free: 4.195 MB / 250.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01793, allocations: 0 / 270.5 MB, free: 4.195 MB / 250.7 MB Notification: Performance of Templates: time 0.006509/0.02444, allocations: 5.016 MB / 275.5 MB, free: 15.21 MB / 266.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.935209804214537]