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.001014/0.001014, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001136/0.001136, allocations: 166.3 kB / 24.91 MB, free: 8.77 MB / 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.014/1.014, allocations: 177 MB / 205.2 MB, free: 5.078 MB / 186.7 MB " [Timeout remaining time 179] 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.794e-06/1.794e-06, allocations: 0 / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.655e-05, allocations: 2.312 kB / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.00382/0.003847, allocations: 2.97 MB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.005324, allocations: 0.8059 MB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.005527, allocations: 4 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.005682, allocations: 47.5 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.005877, allocations: 115 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.006254, allocations: 119.7 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003953/0.00665, allocations: 426.1 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.006833, allocations: 98.22 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003327/0.007166, allocations: 239.4 kB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.007346, allocations: 127.7 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.188e-05/0.007388, allocations: 36 kB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.03e-05/0.007478, allocations: 40 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.748e-05/0.007525, allocations: 83.67 kB / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.09e-05/0.007616, allocations: 123.8 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.007905, allocations: 271.1 kB / 278.9 MB, free: 11.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.007908, allocations: 4 kB / 278.9 MB, free: 11.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.007909, allocations: 0 / 278.9 MB, free: 11.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.007915, allocations: 0 / 278.9 MB, free: 11.53 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.0006278/0.008542, allocations: 0.528 MB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.008575, allocations: 11.98 kB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.008706, allocations: 52.89 kB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.008943, allocations: 202 kB / 279.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.00896, allocations: 20.88 kB / 279.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.008989, allocations: 24.38 kB / 279.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.009232, allocations: 268.2 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.009243, allocations: 4.188 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.009262, allocations: 12.38 kB / 280 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.009273, allocations: 15.94 kB / 280 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.009377, allocations: 79.38 kB / 280.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008067/0.01018, allocations: 0.7754 MB / 280.9 MB, free: 9.434 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.01042, allocations: 138.4 kB / 281 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.01053, allocations: 80.75 kB / 281.1 MB, free: 9.211 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.01055, allocations: 11.92 kB / 281.1 MB, free: 9.199 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.0107, allocations: 182.1 kB / 281.3 MB, free: 8.984 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.072e-06/0.0107, allocations: 0 / 281.3 MB, free: 8.984 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005726/0.01127, allocations: 298.6 kB / 281.6 MB, free: 8.688 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.01132, allocations: 136.5 kB / 281.7 MB, free: 8.523 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.01144, allocations: 213 kB / 281.9 MB, free: 8.305 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.01146, allocations: 29.7 kB / 282 MB, free: 8.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.01152, allocations: 156.6 kB / 282.1 MB, free: 8.109 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.01156, allocations: 79.39 kB / 282.2 MB, free: 8.031 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/0.01161, allocations: 49.69 kB / 282.2 MB, free: 7.977 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.619e-05/0.01169, allocations: 338.7 kB / 282.6 MB, free: 7.637 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.501e-05/0.01172, allocations: 31.92 kB / 282.6 MB, free: 7.605 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.157e-05/0.0118, allocations: 124.5 kB / 282.7 MB, free: 7.453 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.346e-05/0.01189, allocations: 95.3 kB / 282.8 MB, free: 7.348 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.01189, allocations: 4 kB / 282.8 MB, free: 7.344 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001643/0.01206, allocations: 158.3 kB / 283 MB, free: 7.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.01207, allocations: 4 kB / 283 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.01207, allocations: 0 / 283 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001695/0.01224, allocations: 60.8 kB / 283 MB, free: 7.113 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.01234, allocations: 35.92 kB / 283.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.01371, allocations: 1.629 MB / 284.7 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.815e-05/0.0138, allocations: 19.89 kB / 284.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.01381, allocations: 8 kB / 284.7 MB, free: 5.336 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 8.429e-05/0.01389, allocations: 125.8 kB / 284.8 MB, free: 5.203 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.01392, allocations: 31.95 kB / 284.9 MB, free: 5.172 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/0.01395, allocations: 30.27 kB / 284.9 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01395, allocations: 4 kB / 284.9 MB, free: 5.137 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.01395, allocations: 0 / 284.9 MB, free: 5.137 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.01396, allocations: 112 / 284.9 MB, free: 5.137 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003935/0.01435, allocations: 459.7 kB / 285.4 MB, free: 4.656 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.01435, allocations: 4 kB / 285.4 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.695e-05/0.01443, allocations: 19.98 kB / 285.4 MB, free: 4.633 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001264/0.01456, allocations: 56.8 kB / 285.4 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.01457, allocations: 19.95 kB / 285.5 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000975/0.01555, allocations: 1.626 MB / 287.1 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01555, allocations: 0 / 287.1 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.01577, allocations: 281.6 kB / 287.4 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.01582, allocations: 27.84 kB / 287.4 MB, free: 2.516 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.01584, allocations: 8 kB / 287.4 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.249e-05/0.01592, allocations: 12 kB / 287.4 MB, free: 2.496 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.036e-05/0.01599, allocations: 31.92 kB / 287.4 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.016, allocations: 8.109 kB / 287.4 MB, free: 2.457 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.256e-05/0.01605, allocations: 74.72 kB / 287.5 MB, free: 2.383 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01605, allocations: 0 / 287.5 MB, free: 2.383 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002713/0.01632, allocations: 99.78 kB / 287.6 MB, free: 2.285 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 9.607e-05/0.01642, allocations: 88.39 kB / 287.7 MB, free: 2.191 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003044/0.01672, allocations: 273.1 kB / 288 MB, free: 1.914 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.01673, allocations: 4 kB / 288 MB, free: 1.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.0169, allocations: 231.4 kB / 288.2 MB, free: 1.668 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.01711, allocations: 52.53 kB / 288.2 MB, free: 1.617 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008336/0.01794, allocations: 0.5528 MB / 288.8 MB, free: 1.031 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.515e-05/0.01799, allocations: 92.31 kB / 288.9 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.842e-05/0.01806, allocations: 18.28 kB / 288.9 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.01817, allocations: 99.34 kB / 289 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01817, allocations: 4 kB / 289 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of Templates: time 0.1118/0.1299, allocations: 4.881 MB / 293.9 MB, free: 25 MB / 266.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 -s gbode -gbm=radauIIA3 -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","",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.8018660596571863]