Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.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.001974/0.001974, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.00217/0.00217, allocations: 166 kB / 25.02 MB, free: 8.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 158.6 MB / 186.8 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 250.3 MB, free: 3.957 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.764e-05, allocations: 2.312 kB / 250.3 MB, free: 3.953 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.00891/0.008937, allocations: 6.355 MB / 256.7 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01443/0.02337, allocations: 9.018 MB / 265.7 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.02456, allocations: 122.6 kB / 265.8 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001845/0.02641, allocations: 0.6306 MB / 266.5 MB, free: 3.758 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003571/0.02998, allocations: 1.229 MB / 267.7 MB, free: 2.516 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.03187, allocations: 0.6834 MB / 268.4 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004639/0.03651, allocations: 2.578 MB / 271 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004235/0.03694, allocations: 176.3 kB / 271.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.038, allocations: 0.6818 MB / 271.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005836/0.03858, allocations: 370.7 kB / 272.2 MB, free: 14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.03869, allocations: 56 kB / 272.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001762/0.04045, allocations: 0.6596 MB / 272.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.04067, allocations: 186.8 kB / 273.1 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005738/0.04124, allocations: 378.8 kB / 273.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002732/0.04397, allocations: 1.985 MB / 275.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.04398, allocations: 0 / 275.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.04398, allocations: 4 kB / 275.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.817e-05/0.044, allocations: 0 / 275.4 MB, free: 10.73 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003328/0.04733, allocations: 1.951 MB / 277.4 MB, free: 8.738 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.04737, allocations: 11.98 kB / 277.4 MB, free: 8.727 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003359/0.04771, allocations: 239.7 kB / 277.6 MB, free: 8.492 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002536/0.05024, allocations: 1.403 MB / 279 MB, free: 7.035 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.05028, allocations: 33.12 kB / 279.1 MB, free: 7.004 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.05039, allocations: 44 kB / 279.1 MB, free: 6.961 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.05148, allocations: 0.5236 MB / 279.6 MB, free: 6.434 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.0515, allocations: 0 / 279.6 MB, free: 6.434 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.536e-05/0.05155, allocations: 16 kB / 279.6 MB, free: 6.418 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/0.05158, allocations: 19.98 kB / 279.7 MB, free: 6.398 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.05262, allocations: 468.1 kB / 280.1 MB, free: 5.938 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003363/0.05598, allocations: 1.88 MB / 282 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.05703, allocations: 0.4991 MB / 282.5 MB, free: 3.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008428/0.05787, allocations: 465.4 kB / 283 MB, free: 3.027 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006987/0.06486, allocations: 2.641 MB / 285.6 MB, free: 364 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006362/0.0655, allocations: 286.2 kB / 285.9 MB, free: 68 kB / 266.7 MB Notification: Performance of pre-optimization done (n=55): time 2.274e-06/0.0655, allocations: 7.938 kB / 285.9 MB, free: 60 kB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.004306/0.06981, allocations: 1.905 MB / 287.8 MB, free: 14.11 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.981e-05/0.06989, allocations: 67.84 kB / 287.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/0.07171, allocations: 1.304 MB / 289.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.902e-05/0.07176, allocations: 33.7 kB / 289.2 MB, free: 12.7 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007742/0.07253, allocations: 0.7234 MB / 289.9 MB, free: 11.97 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.07274, allocations: 214.1 kB / 290.1 MB, free: 11.76 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/0.07296, allocations: 118.3 kB / 290.2 MB, free: 11.64 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.07315, allocations: 330 kB / 290.6 MB, free: 11.31 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004596/0.07361, allocations: 193.5 kB / 290.8 MB, free: 11.12 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006248/0.07424, allocations: 367.8 kB / 291.1 MB, free: 10.7 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00295/0.07719, allocations: 1.14 MB / 292.3 MB, free: 9.484 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.07719, allocations: 4 kB / 292.3 MB, free: 9.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002002/0.0792, allocations: 0.9446 MB / 293.2 MB, free: 8.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.07922, allocations: 8 kB / 293.2 MB, free: 8.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.687e-05/0.07932, allocations: 59.92 kB / 293.3 MB, free: 8.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005455/0.07986, allocations: 172.3 kB / 293.4 MB, free: 8.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/0.08034, allocations: 111.8 kB / 293.5 MB, free: 8.176 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003438/0.08378, allocations: 2.37 MB / 295.9 MB, free: 5.707 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005673/0.08434, allocations: 32.02 kB / 295.9 MB, free: 5.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.169e-05/0.08442, allocations: 32 kB / 296 MB, free: 5.645 MB / 282.7 MB Warning: Assuming fixed start value for the following 2 variables: T2.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real T1.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 54 * 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,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005654/0.08498, allocations: 273.7 kB / 296.2 MB, free: 5.367 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002809/0.08526, allocations: 210.8 kB / 296.5 MB, free: 5.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/0.0873, allocations: 0.878 MB / 297.3 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.08731, allocations: 8 kB / 297.3 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.08732, allocations: 4 kB / 297.3 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.08733, allocations: 3.984 kB / 297.3 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.08837, allocations: 0.7099 MB / 298.1 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.408e-05/0.08846, allocations: 56 kB / 298.1 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003287/0.08878, allocations: 55.95 kB / 298.2 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004695/0.08925, allocations: 171.8 kB / 298.3 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.778e-05/0.0893, allocations: 20 kB / 298.4 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003406/0.09271, allocations: 2.351 MB / 300.7 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.09271, allocations: 4 kB / 300.7 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09953/0.1922, allocations: 1.075 MB / 301.8 MB, free: 58.65 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004518/0.1927, allocations: 176.6 kB / 302 MB, free: 58.65 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.1928, allocations: 13.64 kB / 302 MB, free: 58.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/0.1932, allocations: 21.75 kB / 302 MB, free: 58.65 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.1933, allocations: 45.97 kB / 302 MB, free: 58.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.884e-05/0.1934, allocations: 22.69 kB / 302.1 MB, free: 58.65 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001112/0.1945, allocations: 0.8626 MB / 302.9 MB, free: 58.54 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1945, allocations: 0 / 302.9 MB, free: 58.54 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009468/0.1955, allocations: 382.1 kB / 303.3 MB, free: 58.54 MB / 282.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 (30): * Single equations (assignments): 24 * 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,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007388/0.1962, allocations: 0.4901 MB / 303.8 MB, free: 58.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00154/0.1977, allocations: 0.8085 MB / 304.6 MB, free: 58.2 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1977, allocations: 3.828 kB / 304.6 MB, free: 58.2 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008804/0.1986, allocations: 0.5546 MB / 305.1 MB, free: 57.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007075/0.1993, allocations: 202.6 kB / 305.3 MB, free: 57.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00311/0.2024, allocations: 2.364 MB / 307.7 MB, free: 56.61 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006588/0.2031, allocations: 0.5872 MB / 308.3 MB, free: 56.47 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005009/0.2036, allocations: 186 kB / 308.5 MB, free: 56.42 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.2037, allocations: 83.06 kB / 308.6 MB, free: 56.42 MB / 282.7 MB Notification: Performance of SimCode: time 1.363e-06/0.2037, allocations: 0 / 308.6 MB, free: 56.42 MB / 282.7 MB Notification: Performance of Templates: time 0.02209/0.2258, allocations: 13.74 MB / 322.3 MB, free: 47.02 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.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.9198340030852705]