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.0007695/0.0007695, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001128/0.001897, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0007043/0.0007043, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000901/0.001605, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 0.864/0.864, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1748/1.039, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] 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.893e-06/1.893e-06, allocations: 0 / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.79e-05/2.98e-05, allocations: 2.312 kB / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007131/0.007161, allocations: 6.922 MB / 228.9 MB, free: 9.109 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01286/0.02002, allocations: 9.865 MB / 238.8 MB, free: 15.19 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001773/0.02179, allocations: 122.6 kB / 238.9 MB, free: 15.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001885/0.02368, allocations: 0.6538 MB / 239.5 MB, free: 14.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004113/0.02779, allocations: 1.219 MB / 240.8 MB, free: 13.19 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.02961, allocations: 0.583 MB / 241.3 MB, free: 12.6 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003722/0.03333, allocations: 2.574 MB / 243.9 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005705/0.0339, allocations: 189.1 kB / 244.1 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.03537, allocations: 1.131 MB / 245.2 MB, free: 8.652 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005212/0.03589, allocations: 398.7 kB / 245.6 MB, free: 8.262 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.036, allocations: 56 kB / 245.7 MB, free: 8.207 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.03801, allocations: 0.7561 MB / 246.4 MB, free: 7.449 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.03817, allocations: 146.9 kB / 246.6 MB, free: 7.305 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004737/0.03865, allocations: 346.9 kB / 246.9 MB, free: 6.965 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002101/0.04075, allocations: 1.366 MB / 248.3 MB, free: 5.594 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.948e-05/0.04077, allocations: 0 / 248.3 MB, free: 5.594 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.04077, allocations: 0 / 248.3 MB, free: 5.594 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.913e-05/0.0408, allocations: 4 kB / 248.3 MB, free: 5.59 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002439/0.04324, allocations: 2.333 MB / 250.6 MB, free: 3.203 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.04329, allocations: 8.031 kB / 250.6 MB, free: 3.195 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.04347, allocations: 168.8 kB / 250.8 MB, free: 3.031 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.04486, allocations: 1.08 MB / 251.9 MB, free: 1.887 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.04489, allocations: 37.12 kB / 251.9 MB, free: 1.852 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.62e-05/0.04498, allocations: 51.89 kB / 252 MB, free: 1.801 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004975/0.04548, allocations: 347.7 kB / 252.3 MB, free: 1.445 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.04549, allocations: 4 kB / 252.3 MB, free: 1.441 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.04553, allocations: 16 kB / 252.3 MB, free: 1.426 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.04555, allocations: 12 kB / 252.3 MB, free: 1.414 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.04578, allocations: 164.5 kB / 252.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.0474, allocations: 1.243 MB / 253.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.04775, allocations: 354.7 kB / 254.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.04799, allocations: 277.6 kB / 254.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004155/0.05214, allocations: 2.642 MB / 257 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002741/0.05242, allocations: 194.1 kB / 257.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=55): time 2.455e-06/0.05242, allocations: 0 / 257.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.001631/0.05405, allocations: 1.027 MB / 258.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.0541, allocations: 59.91 kB / 258.3 MB, free: 11.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008029/0.0549, allocations: 1.186 MB / 259.4 MB, free: 10.15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.05493, allocations: 33.7 kB / 259.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.05518, allocations: 432.3 kB / 259.9 MB, free: 9.684 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.0553, allocations: 214.2 kB / 260.1 MB, free: 9.473 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.05541, allocations: 106.2 kB / 260.2 MB, free: 9.363 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.05552, allocations: 333.9 kB / 260.5 MB, free: 9.031 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.355e-05/0.0556, allocations: 65.62 kB / 260.6 MB, free: 8.969 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.05578, allocations: 239.8 kB / 260.8 MB, free: 8.664 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004237/0.0562, allocations: 0.493 MB / 261.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.05621, allocations: 0 / 261.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00059/0.0568, allocations: 0.5206 MB / 261.9 MB, free: 7.574 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.05682, allocations: 12.09 kB / 261.9 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.113e-05/0.05687, allocations: 12 kB / 261.9 MB, free: 7.551 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006675/0.05754, allocations: 131.5 kB / 262 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.05785, allocations: 145.7 kB / 262.1 MB, free: 7.281 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/0.05953, allocations: 1.847 MB / 264 MB, free: 5.352 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.05983, allocations: 16 kB / 264 MB, free: 5.336 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/0.05988, allocations: 20 kB / 264 MB, free: 5.316 MB / 266.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.0002803/0.06016, allocations: 153.6 kB / 264.2 MB, free: 5.156 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.06029, allocations: 135.8 kB / 264.3 MB, free: 5.023 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007404/0.06103, allocations: 0.5587 MB / 264.9 MB, free: 4.449 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.06104, allocations: 11.94 kB / 264.9 MB, free: 4.438 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.06104, allocations: 0 / 264.9 MB, free: 4.438 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.06105, allocations: 0 / 264.9 MB, free: 4.438 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000548/0.0616, allocations: 490.9 kB / 265.4 MB, free: 3.941 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.444e-05/0.06163, allocations: 15.98 kB / 265.4 MB, free: 3.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.06184, allocations: 75.88 kB / 265.5 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.06202, allocations: 154.8 kB / 265.6 MB, free: 3.699 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002428/0.06227, allocations: 120.7 kB / 265.7 MB, free: 3.578 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.06229, allocations: 11.98 kB / 265.7 MB, free: 3.566 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/0.06377, allocations: 1.835 MB / 267.6 MB, free: 1.645 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.06378, allocations: 4 kB / 267.6 MB, free: 1.641 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006569/0.06443, allocations: 0.5634 MB / 268.1 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.526e-05/0.06451, allocations: 15.98 kB / 268.2 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.06468, allocations: 15.94 kB / 268.2 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.294e-05/0.06477, allocations: 36.42 kB / 268.2 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.0648, allocations: 19.92 kB / 268.2 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004276/0.06523, allocations: 0.6019 MB / 268.8 MB, free: 380 kB / 266.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.06523, allocations: 0 / 268.8 MB, free: 380 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.001428/0.06666, allocations: 391.3 kB / 269.2 MB, free: 15.98 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.0007989/0.06745, allocations: 0.509 MB / 269.7 MB, free: 15.47 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007787/0.06823, allocations: 0.5626 MB / 270.3 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-05/0.06827, allocations: 24 kB / 270.3 MB, free: 14.87 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004736/0.06874, allocations: 446.9 kB / 270.7 MB, free: 14.4 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.07, allocations: 1.677 MB / 272.4 MB, free: 12.45 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004002/0.07401, allocations: 2.077 MB / 274.5 MB, free: 10.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.0742, allocations: 232.6 kB / 274.7 MB, free: 10.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004045/0.07461, allocations: 191.2 kB / 274.9 MB, free: 9.883 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003358/0.07494, allocations: 265.3 kB / 275.2 MB, free: 9.625 MB / 282.7 MB Notification: Performance of SimCode: time 2.264e-06/0.07494, allocations: 0 / 275.2 MB, free: 9.625 MB / 282.7 MB Notification: Performance of Templates: time 0.1455/0.2204, allocations: 16.05 MB / 291.2 MB, free: 43.01 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2384297950193286]