Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.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.001025/0.001025, allocations: 85.91 kB / 22.21 MB, free: 2.285 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.001141/0.001141, allocations: 159.2 kB / 25.61 MB, free: 8.582 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 0.935/0.935, allocations: 177 MB / 205.9 MB, free: 4.457 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.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 3.938 kB / 274.1 MB, free: 4.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.502e-05, allocations: 6.031 kB / 274.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008562/0.008587, allocations: 6.989 MB / 281.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01156/0.02014, allocations: 9.978 MB / 291.1 MB, free: 3.285 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008074/0.02095, allocations: 122.6 kB / 291.2 MB, free: 3.164 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.02208, allocations: 0.6427 MB / 291.8 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002186/0.02427, allocations: 1.26 MB / 293.1 MB, free: 1.246 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008554/0.02512, allocations: 0.6874 MB / 293.8 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002069/0.02719, allocations: 2.706 MB / 296.5 MB, free: 13.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.02742, allocations: 172.4 kB / 296.7 MB, free: 13.65 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007464/0.02816, allocations: 1.045 MB / 297.7 MB, free: 12.6 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003418/0.0285, allocations: 410.5 kB / 298.1 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.098e-05/0.02857, allocations: 52 kB / 298.2 MB, free: 12.15 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007664/0.02933, allocations: 0.6945 MB / 298.8 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.02944, allocations: 194.8 kB / 299 MB, free: 11.26 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.02969, allocations: 386.8 kB / 299.4 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.0308, allocations: 1.502 MB / 300.9 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.0308, allocations: 0 / 300.9 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.0308, allocations: 0 / 300.9 MB, free: 9.375 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.03081, allocations: 0 / 300.9 MB, free: 9.375 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001643/0.03245, allocations: 2.131 MB / 303 MB, free: 7.195 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.784e-05/0.03248, allocations: 8.031 kB / 303.1 MB, free: 7.188 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.03265, allocations: 239.7 kB / 303.3 MB, free: 6.953 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.03425, allocations: 1.351 MB / 304.6 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.03428, allocations: 33.38 kB / 304.7 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.4e-05/0.03435, allocations: 44.38 kB / 304.7 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004472/0.03479, allocations: 352.9 kB / 305.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.03481, allocations: 7.938 kB / 305.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.03484, allocations: 12 kB / 305.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.03485, allocations: 19.98 kB / 305.1 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.0351, allocations: 220.4 kB / 305.3 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001849/0.03695, allocations: 1.66 MB / 307 MB, free: 3.141 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003441/0.03729, allocations: 347.7 kB / 307.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.03757, allocations: 324.2 kB / 307.6 MB, free: 2.469 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002922/0.04049, allocations: 2.337 MB / 310 MB, free: 108 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002834/0.04078, allocations: 219.6 kB / 310.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=61): time 2.274e-06/0.04078, allocations: 0 / 310.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=65): time 0.002157/0.04294, allocations: 1.546 MB / 311.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.04297, allocations: 67.83 kB / 311.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008789/0.04385, allocations: 1.387 MB / 313.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.04388, allocations: 33.7 kB / 313.2 MB, free: 12.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004978/0.04437, allocations: 0.8338 MB / 314 MB, free: 11.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.0445, allocations: 234 kB / 314.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.04462, allocations: 131.9 kB / 314.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.04474, allocations: 0.5004 MB / 314.9 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.04485, allocations: 101.6 kB / 315 MB, free: 10.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.04504, allocations: 291.2 kB / 315.3 MB, free: 10.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.0454, allocations: 478.1 kB / 315.8 MB, free: 10.06 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.04541, allocations: 0 / 315.8 MB, free: 10.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006913/0.0461, allocations: 0.7364 MB / 316.5 MB, free: 9.309 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.04611, allocations: 11.98 kB / 316.5 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.894e-05/0.04617, allocations: 64 kB / 316.6 MB, free: 9.234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002911/0.04646, allocations: 155.1 kB / 316.7 MB, free: 9.082 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.04669, allocations: 111.8 kB / 316.8 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.04838, allocations: 2.671 MB / 319.5 MB, free: 6.195 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.0486, allocations: 27.98 kB / 319.5 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.04864, allocations: 24 kB / 319.5 MB, free: 6.145 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 7 (v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 1 system {(4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001851/0.04882, allocations: 196.3 kB / 319.7 MB, free: 5.941 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.04895, allocations: 206.9 kB / 319.9 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000816/0.04977, allocations: 0.7385 MB / 320.7 MB, free: 4.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.04977, allocations: 4 kB / 320.7 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.04977, allocations: 4 kB / 320.7 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.04978, allocations: 0 / 320.7 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005238/0.0503, allocations: 0.6103 MB / 321.3 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.221e-05/0.05036, allocations: 60 kB / 321.4 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.0505, allocations: 67.89 kB / 321.4 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000266/0.05077, allocations: 150.5 kB / 321.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.0508, allocations: 20 kB / 321.6 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/0.05239, allocations: 2.673 MB / 324.3 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.0524, allocations: 4 kB / 324.3 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007712/0.05317, allocations: 0.8187 MB / 325.1 MB, free: 416 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.05335, allocations: 186.8 kB / 325.3 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-05/0.05343, allocations: 12 kB / 325.3 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.0536, allocations: 12 kB / 325.3 MB, free: 204 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.65e-05/0.05369, allocations: 60.34 kB / 325.4 MB, free: 144 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.05372, allocations: 23.98 kB / 325.4 MB, free: 120 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004702/0.05419, allocations: 0.7516 MB / 326.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05419, allocations: 0 / 326.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006029/0.05479, allocations: 403.2 kB / 326.5 MB, free: 14.98 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * 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): 1 system {(4,17,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005329/0.05532, allocations: 0.5157 MB / 327 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007128/0.05604, allocations: 0.7511 MB / 327.8 MB, free: 13.67 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.05604, allocations: 0 / 327.8 MB, free: 13.67 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004616/0.0565, allocations: 0.589 MB / 328.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005088/0.05701, allocations: 225.2 kB / 328.6 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.05903, allocations: 2.231 MB / 330.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.05918, allocations: 240.6 kB / 331.1 MB, free: 10.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002876/0.05947, allocations: 183.2 kB / 331.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002993/0.05977, allocations: 322.1 kB / 331.6 MB, free: 9.789 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.05977, allocations: 4 kB / 331.6 MB, free: 9.785 MB / 314.7 MB Notification: Performance of Templates: time 0.02085/0.08062, allocations: 16.77 MB / 348.3 MB, free: 9.121 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.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.1633937139995396]