Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001003/0.001003, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001034/0.001034, allocations: 173 kB / 24.91 MB, free: 8.773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.074 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 273.5 MB, free: 1.102 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.191e-05, allocations: 2.312 kB / 273.5 MB, free: 1.098 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.003293/0.003315, allocations: 2.977 MB / 276.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.004677, allocations: 0.8021 MB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.004815, allocations: 7.938 kB / 277.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.004965, allocations: 51.44 kB / 277.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.005137, allocations: 107.1 kB / 277.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.005473, allocations: 119.7 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003424/0.005815, allocations: 418.1 kB / 278 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.005987, allocations: 102.2 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003162/0.006303, allocations: 235.5 kB / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.006474, allocations: 131.6 kB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.067e-05/0.006514, allocations: 36 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.208e-05/0.006596, allocations: 43.98 kB / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.818e-05/0.006645, allocations: 79.73 kB / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.006745, allocations: 123.7 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002817/0.007027, allocations: 275 kB / 279 MB, free: 11.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.00703, allocations: 0 / 279 MB, free: 11.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.00703, allocations: 0 / 279 MB, free: 11.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.007035, allocations: 0 / 279 MB, free: 11.59 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.0005659/0.007601, allocations: 0.528 MB / 279.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.717e-05/0.007628, allocations: 8.031 kB / 279.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.007752, allocations: 52.89 kB / 279.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.007965, allocations: 194 kB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.007981, allocations: 24.88 kB / 279.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.00801, allocations: 24.38 kB / 279.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.008254, allocations: 276.2 kB / 280.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.008262, allocations: 4.125 kB / 280.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.008278, allocations: 8.375 kB / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.008287, allocations: 11.94 kB / 280.1 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.567e-05/0.008382, allocations: 79.39 kB / 280.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.009387, allocations: 0.7793 MB / 280.9 MB, free: 9.504 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.009664, allocations: 134.5 kB / 281.1 MB, free: 9.363 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.009793, allocations: 76.81 kB / 281.2 MB, free: 9.285 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.009823, allocations: 11.94 kB / 281.2 MB, free: 9.273 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.01002, allocations: 178.1 kB / 281.3 MB, free: 9.062 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.393e-06/0.01002, allocations: 0 / 281.3 MB, free: 9.062 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006179/0.01064, allocations: 305.3 kB / 281.6 MB, free: 8.758 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.01069, allocations: 136.5 kB / 281.8 MB, free: 8.594 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.01083, allocations: 209 kB / 282 MB, free: 8.379 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.01085, allocations: 29.7 kB / 282 MB, free: 8.344 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/0.01092, allocations: 160.6 kB / 282.2 MB, free: 8.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.536e-05/0.01098, allocations: 79.34 kB / 282.2 MB, free: 8.102 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.01104, allocations: 49.69 kB / 282.3 MB, free: 8.047 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.71e-05/0.01113, allocations: 334.7 kB / 282.6 MB, free: 7.711 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.598e-05/0.01117, allocations: 23.98 kB / 282.6 MB, free: 7.688 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.777e-05/0.01125, allocations: 124.5 kB / 282.8 MB, free: 7.535 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.01137, allocations: 97.73 kB / 282.9 MB, free: 7.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.01138, allocations: 4 kB / 282.9 MB, free: 7.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001764/0.01155, allocations: 158.9 kB / 283 MB, free: 7.262 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.01157, allocations: 7.938 kB / 283 MB, free: 7.254 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.01157, allocations: 0 / 283 MB, free: 7.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001945/0.01176, allocations: 56.81 kB / 283.1 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.01188, allocations: 44.22 kB / 283.1 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.01308, allocations: 1.622 MB / 284.7 MB, free: 5.445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.01319, allocations: 31.91 kB / 284.8 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.0132, allocations: 8 kB / 284.8 MB, free: 5.406 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.0001005/0.0133, allocations: 125.8 kB / 284.9 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.01333, allocations: 23.92 kB / 284.9 MB, free: 5.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.01336, allocations: 30.27 kB / 285 MB, free: 5.219 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01337, allocations: 4 kB / 285 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.01337, allocations: 0 / 285 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01337, allocations: 0 / 285 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000426/0.0138, allocations: 459.8 kB / 285.4 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.0138, allocations: 0 / 285.4 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.958e-05/0.01389, allocations: 23.92 kB / 285.4 MB, free: 4.711 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001325/0.01402, allocations: 64.84 kB / 285.5 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.01404, allocations: 11.94 kB / 285.5 MB, free: 4.633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.01511, allocations: 1.63 MB / 287.1 MB, free: 2.914 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01512, allocations: 0 / 287.1 MB, free: 2.914 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.01536, allocations: 280.8 kB / 287.4 MB, free: 2.621 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.01541, allocations: 31.83 kB / 287.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.01543, allocations: 8 kB / 287.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.01552, allocations: 15.98 kB / 287.5 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/0.0156, allocations: 36 kB / 287.5 MB, free: 2.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.0156, allocations: 4 kB / 287.5 MB, free: 2.527 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.646e-05/0.01566, allocations: 74.78 kB / 287.6 MB, free: 2.453 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01566, allocations: 0 / 287.6 MB, free: 2.453 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002975/0.01596, allocations: 95.78 kB / 287.7 MB, free: 2.359 MB / 266.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.0001148/0.01607, allocations: 80.42 kB / 287.7 MB, free: 2.273 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003619/0.01644, allocations: 278.4 kB / 288 MB, free: 1.988 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.01644, allocations: 4.109 kB / 288 MB, free: 1.984 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004326/0.01688, allocations: 223.1 kB / 288.2 MB, free: 1.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.01709, allocations: 60.59 kB / 288.3 MB, free: 1.691 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009163/0.01801, allocations: 0.5558 MB / 288.9 MB, free: 1.105 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.16e-05/0.01808, allocations: 96.28 kB / 288.9 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.281e-05/0.01815, allocations: 18.3 kB / 289 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.01827, allocations: 99.34 kB / 289.1 MB, free: 0.875 MB / 266.7 MB Notification: Performance of SimCode: time 9.11e-07/0.01827, allocations: 0 / 289.1 MB, free: 0.875 MB / 266.7 MB Notification: Performance of Templates: time 0.1115/0.1298, allocations: 4.883 MB / 293.9 MB, free: 25.04 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",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.832644698675722]