Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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.0007304/0.0007304, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001523/0.002254, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001094/0.001094, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001168/0.002262, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.006/1.006, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07993/1.086, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.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.SimpleTriacCircuit,tolerance=1e-12,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,tolerance=1e-12,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 245 MB, free: 13.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.037e-05, allocations: 2.312 kB / 245 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.003335/0.003355, allocations: 4.049 MB / 249.1 MB, free: 9.543 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.004586, allocations: 1.094 MB / 250.2 MB, free: 8.441 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.004726, allocations: 11.94 kB / 250.2 MB, free: 8.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.004847, allocations: 87.14 kB / 250.3 MB, free: 8.344 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.005062, allocations: 206.2 kB / 250.5 MB, free: 8.141 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.005355, allocations: 227.6 kB / 250.7 MB, free: 7.918 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005236/0.005879, allocations: 0.8482 MB / 251.5 MB, free: 7.066 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.006042, allocations: 118.2 kB / 251.7 MB, free: 6.949 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004455/0.006487, allocations: 0.5446 MB / 252.2 MB, free: 6.406 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.006716, allocations: 287.3 kB / 252.5 MB, free: 6.125 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.535e-05/0.006781, allocations: 76 kB / 252.6 MB, free: 6.051 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.803e-05/0.006879, allocations: 84 kB / 252.6 MB, free: 5.969 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.141e-05/0.006951, allocations: 111.6 kB / 252.7 MB, free: 5.859 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.007085, allocations: 187.7 kB / 252.9 MB, free: 5.676 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.007462, allocations: 486.4 kB / 253.4 MB, free: 5.199 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.145e-05/0.007473, allocations: 0 / 253.4 MB, free: 5.199 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.007475, allocations: 0 / 253.4 MB, free: 5.199 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.007487, allocations: 0 / 253.4 MB, free: 5.199 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001071/0.008557, allocations: 0.9957 MB / 254.4 MB, free: 4.172 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.486e-05/0.008582, allocations: 8.625 kB / 254.4 MB, free: 4.164 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.008739, allocations: 150 kB / 254.6 MB, free: 4 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.009007, allocations: 271.8 kB / 254.8 MB, free: 3.707 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.009032, allocations: 37.36 kB / 254.9 MB, free: 3.672 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.009073, allocations: 36.38 kB / 254.9 MB, free: 3.637 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004606/0.009533, allocations: 436.3 kB / 255.3 MB, free: 3.172 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.009543, allocations: 8.188 kB / 255.3 MB, free: 3.164 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.009568, allocations: 16.36 kB / 255.3 MB, free: 3.148 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.009577, allocations: 15.94 kB / 255.4 MB, free: 3.133 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.009766, allocations: 122.9 kB / 255.5 MB, free: 3.016 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.01109, allocations: 1.383 MB / 256.9 MB, free: 1.566 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007255/0.01181, allocations: 340.8 kB / 257.2 MB, free: 1.227 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.01196, allocations: 121.5 kB / 257.3 MB, free: 1.105 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.01199, allocations: 12.31 kB / 257.3 MB, free: 1.094 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/0.01221, allocations: 231.7 kB / 257.6 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 1.142e-06/0.01221, allocations: 0 / 257.6 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.002807/0.01502, allocations: 1.067 MB / 258.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.01505, allocations: 59.41 kB / 258.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.01523, allocations: 339.3 kB / 259 MB, free: 15.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.01526, allocations: 37.7 kB / 259 MB, free: 15.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.564e-05/0.01535, allocations: 193.7 kB / 259.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/0.01542, allocations: 138.8 kB / 259.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.655e-05/0.01551, allocations: 70.03 kB / 259.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.0156, allocations: 358.7 kB / 259.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.903e-05/0.0157, allocations: 82.56 kB / 259.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.01582, allocations: 146 kB / 260 MB, free: 14.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.01601, allocations: 199.8 kB / 260.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01602, allocations: 3.938 kB / 260.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005767/0.01659, allocations: 396.9 kB / 260.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.01663, allocations: 29.7 kB / 260.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.01663, allocations: 4 kB / 260.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003738/0.017, allocations: 211.8 kB / 260.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.01721, allocations: 83.88 kB / 260.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/0.01938, allocations: 2.027 MB / 262.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.0196, allocations: 71.86 kB / 263 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.01962, allocations: 8 kB / 263 MB, free: 11.16 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (trapezoidCurrent.signalSource.count,$PRE.trapezoidCurrent.signalSource.count,trapezoidCurrent.signalSource.T_start,$PRE.trapezoidCurrent.signalSource.T_start,simpleTriac.idealDiode1.off,simpleTriac.idealDiode.off,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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 {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.01975, allocations: 129.8 kB / 263.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.0198, allocations: 39.95 kB / 263.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.671e-05/0.01986, allocations: 60.45 kB / 263.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.01986, allocations: 8 kB / 263.3 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.01987, allocations: 3.938 kB / 263.3 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.01987, allocations: 3.984 kB / 263.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.02015, allocations: 286 kB / 263.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.02015, allocations: 3.984 kB / 263.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.02034, allocations: 75.89 kB / 263.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.02045, allocations: 55.56 kB / 263.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000336/0.02078, allocations: 196.7 kB / 263.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.0208, allocations: 15.98 kB / 263.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/0.0228, allocations: 2.028 MB / 265.9 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.02281, allocations: 4 kB / 265.9 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009843/0.02379, allocations: 0.5024 MB / 266.4 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.02383, allocations: 8 kB / 266.4 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.024, allocations: 51.89 kB / 266.5 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.75e-05/0.02409, allocations: 47.91 kB / 266.5 MB, free: 7.535 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.02411, allocations: 15.98 kB / 266.5 MB, free: 7.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.02422, allocations: 152.7 kB / 266.7 MB, free: 7.371 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02422, allocations: 3.938 kB / 266.7 MB, free: 7.367 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003614/0.02458, allocations: 164 kB / 266.9 MB, free: 7.207 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,simpleTriac.thyristor.vControl,simpleTriac.thyristor1.vControl) * Number of discrete variables: 5 ($whenCondition1,simpleTriac.idealDiode.off,simpleTriac.idealDiode1.off,trapezoidCurrent.signalSource.T_start,trapezoidCurrent.signalSource.count) * Number of discrete states: 1 (trapezoidCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001141/0.0247, allocations: 96.34 kB / 266.9 MB, free: 7.102 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006142/0.02531, allocations: 0.4958 MB / 267.4 MB, free: 6.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.54e-05/0.02533, allocations: 11.94 kB / 267.5 MB, free: 6.559 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003765/0.0257, allocations: 363.1 kB / 267.8 MB, free: 6.188 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.02598, allocations: 133.5 kB / 267.9 MB, free: 6.059 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003301/0.02928, allocations: 0.9837 MB / 268.9 MB, free: 5.039 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.459e-05/0.02937, allocations: 121.8 kB / 269 MB, free: 4.898 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001465/0.02951, allocations: 39.31 kB / 269.1 MB, free: 4.859 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.02969, allocations: 131.3 kB / 269.2 MB, free: 4.73 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.02969, allocations: 0 / 269.2 MB, free: 4.73 MB / 266.7 MB Notification: Performance of Templates: time 0.01448/0.04417, allocations: 13.58 MB / 282.8 MB, free: 7.262 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SimpleTriacCircuit/SimpleTriacCircuit.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: 3.2152129784226418]