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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002586/0.002586, allocations: 99.53 kB / 20.97 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003113/0.003113, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.597/1.597, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.145e-05/3.322e-05, allocations: 6.312 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.006459/0.006493, allocations: 2.917 MB / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.008746, allocations: 0.7828 MB / 275.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.00895, allocations: 8 kB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.009188, allocations: 47.5 kB / 276 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.009525, allocations: 111 kB / 276.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004954/0.01002, allocations: 119.7 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007141/0.01073, allocations: 430.1 kB / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002825/0.01102, allocations: 87.67 kB / 276.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005187/0.01154, allocations: 247.3 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003216/0.01186, allocations: 123.7 kB / 277.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.457e-05/0.01195, allocations: 36 kB / 277.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.01209, allocations: 40 kB / 277.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.01221, allocations: 83.73 kB / 277.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.01243, allocations: 119.7 kB / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008113/0.01324, allocations: 450.7 kB / 277.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.01325, allocations: 0 / 277.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.01325, allocations: 0 / 277.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.01326, allocations: 4 kB / 277.8 MB, free: 12.2 MB / 266.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.001598/0.01486, allocations: 0.6758 MB / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.01491, allocations: 15.92 kB / 278.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002957/0.0152, allocations: 68.69 kB / 278.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005245/0.01573, allocations: 229.1 kB / 278.8 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.29e-05/0.01577, allocations: 20.88 kB / 278.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.881e-05/0.01585, allocations: 24.38 kB / 278.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008696/0.01672, allocations: 364.1 kB / 279.2 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.01673, allocations: 4.188 kB / 279.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.512e-05/0.01679, allocations: 12.38 kB / 279.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.01681, allocations: 11.88 kB / 279.2 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006366/0.01744, allocations: 189.9 kB / 279.4 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002814/0.02026, allocations: 1.224 MB / 280.6 MB, free: 9.215 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007764/0.02103, allocations: 211.1 kB / 280.8 MB, free: 8.996 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004552/0.02149, allocations: 135.5 kB / 280.9 MB, free: 8.859 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.02152, allocations: 4 kB / 280.9 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005216/0.02204, allocations: 239.1 kB / 281.2 MB, free: 8.578 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.934e-06/0.02204, allocations: 0 / 281.2 MB, free: 8.578 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.002132/0.02417, allocations: 452.2 kB / 281.6 MB, free: 8.129 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001483/0.02432, allocations: 148.4 kB / 281.7 MB, free: 7.953 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005232/0.02485, allocations: 320.3 kB / 282.1 MB, free: 7.621 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.02489, allocations: 33.73 kB / 282.1 MB, free: 7.582 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.02513, allocations: 227.4 kB / 282.3 MB, free: 7.355 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.02525, allocations: 83.38 kB / 282.4 MB, free: 7.273 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.02541, allocations: 67.3 kB / 282.5 MB, free: 7.199 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003913/0.0258, allocations: 0.5157 MB / 283 MB, free: 6.672 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.02604, allocations: 67.97 kB / 283 MB, free: 6.605 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/0.0264, allocations: 189.5 kB / 283.2 MB, free: 6.383 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005045/0.02691, allocations: 194.6 kB / 283.4 MB, free: 6.176 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.02691, allocations: 0 / 283.4 MB, free: 6.176 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008072/0.02772, allocations: 289.1 kB / 283.7 MB, free: 5.883 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.02774, allocations: 4 kB / 283.7 MB, free: 5.879 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.02775, allocations: 0 / 283.7 MB, free: 5.879 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005216/0.02827, allocations: 107.5 kB / 283.8 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.02848, allocations: 27.98 kB / 283.8 MB, free: 5.742 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004266/0.03274, allocations: 2.63 MB / 286.5 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.03305, allocations: 27.83 kB / 286.5 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.03308, allocations: 16.02 kB / 286.5 MB, free: 2.957 MB / 266.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.0002912/0.03338, allocations: 196.5 kB / 286.7 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.796e-05/0.03347, allocations: 31.81 kB / 286.7 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.03358, allocations: 34.27 kB / 286.8 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.03358, allocations: 0 / 286.8 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.03358, allocations: 4 kB / 286.8 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.03359, allocations: 3.938 kB / 286.8 MB, free: 2.676 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.0352, allocations: 0.8086 MB / 287.6 MB, free: 1.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.0352, allocations: 0 / 287.6 MB, free: 1.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.03537, allocations: 23.95 kB / 287.6 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004238/0.03579, allocations: 91.62 kB / 287.7 MB, free: 1.699 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.03582, allocations: 4 kB / 287.7 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004204/0.04002, allocations: 2.646 MB / 290.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.04002, allocations: 0 / 290.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.04118, allocations: 0.4966 MB / 290.8 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.04135, allocations: 47.77 kB / 290.9 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.162e-05/0.0414, allocations: 8 kB / 290.9 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/0.04169, allocations: 15.98 kB / 290.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.04184, allocations: 39.88 kB / 291 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.04187, allocations: 12 kB / 291 MB, free: 14.28 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003335/0.0422, allocations: 225.1 kB / 291.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0422, allocations: 0 / 291.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007895/0.04299, allocations: 91.89 kB / 291.3 MB, free: 13.98 MB / 282.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.0001912/0.04318, allocations: 102.1 kB / 291.4 MB, free: 13.87 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.04425, allocations: 424 kB / 291.8 MB, free: 13.44 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.04425, allocations: 4.062 kB / 291.8 MB, free: 13.43 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006531/0.0449, allocations: 336.5 kB / 292.1 MB, free: 13.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006111/0.04551, allocations: 60.45 kB / 292.2 MB, free: 13.03 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.04715, allocations: 0.5765 MB / 292.8 MB, free: 12.42 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.04739, allocations: 159.5 kB / 292.9 MB, free: 12.25 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.04751, allocations: 18.28 kB / 292.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.81e-05/0.04757, allocations: 24.5 kB / 293 MB, free: 12.2 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.04757, allocations: 0 / 293 MB, free: 12.2 MB / 282.7 MB Notification: Performance of Templates: time 0.01459/0.06216, allocations: 4.623 MB / 297.6 MB, free: 7.652 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.816184551920742]