Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009268/0.0009268, allocations: 80.72 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 140.4 kB / 25.59 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9046/0.9046, allocations: 173.4 MB / 202.2 MB, free: 8.266 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.42e-07/9.42e-07, allocations: 0 / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05e-05/1.144e-05, allocations: 2.312 kB / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.004999/0.00501, allocations: 6.978 MB / 276.2 MB, free: 2.785 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008337/0.01335, allocations: 9.955 MB / 286.1 MB, free: 8.805 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006929/0.01404, allocations: 126.6 kB / 286.2 MB, free: 8.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.01508, allocations: 0.6427 MB / 286.9 MB, free: 8.031 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001807/0.01689, allocations: 1.244 MB / 288.1 MB, free: 6.777 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009708/0.01786, allocations: 0.6874 MB / 288.8 MB, free: 6.086 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002229/0.02009, allocations: 2.687 MB / 291.5 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/0.02034, allocations: 172.4 kB / 291.7 MB, free: 3.199 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000821/0.02116, allocations: 1.025 MB / 292.7 MB, free: 2.172 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003618/0.02152, allocations: 394.6 kB / 293.1 MB, free: 1.785 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.578e-05/0.02162, allocations: 56 kB / 293.1 MB, free: 1.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008417/0.02246, allocations: 0.6945 MB / 293.8 MB, free: 1.035 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.02257, allocations: 194.8 kB / 294 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.02284, allocations: 390.8 kB / 294.4 MB, free: 472 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.02402, allocations: 1.498 MB / 295.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.02402, allocations: 0 / 295.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.02402, allocations: 0 / 295.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.02404, allocations: 0 / 295.9 MB, free: 14.95 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.001636/0.02567, allocations: 2.127 MB / 298 MB, free: 12.78 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.832e-05/0.0257, allocations: 8.031 kB / 298 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.02588, allocations: 243.7 kB / 298.3 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.02736, allocations: 1.351 MB / 299.6 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.02739, allocations: 29.38 kB / 299.7 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.486e-05/0.02746, allocations: 48.38 kB / 299.7 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000418/0.02787, allocations: 344.9 kB / 300 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.02789, allocations: 0 / 300 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.02792, allocations: 27.92 kB / 300.1 MB, free: 10.67 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.02794, allocations: 12 kB / 300.1 MB, free: 10.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.02818, allocations: 224.4 kB / 300.3 MB, free: 10.44 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.0299, allocations: 1.671 MB / 302 MB, free: 8.715 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.03023, allocations: 335.7 kB / 302.3 MB, free: 8.371 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.03048, allocations: 316.8 kB / 302.6 MB, free: 8.062 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003311/0.03379, allocations: 2.626 MB / 305.2 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.03401, allocations: 203.8 kB / 305.4 MB, free: 5.199 MB / 282.7 MB Notification: Performance of pre-optimization done (n=55): time 1.783e-06/0.03401, allocations: 0 / 305.4 MB, free: 5.199 MB / 282.7 MB Notification: Performance of matching and sorting (n=59): time 0.001402/0.03541, allocations: 1.219 MB / 306.7 MB, free: 3.938 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.03544, allocations: 55.91 kB / 306.7 MB, free: 3.871 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008748/0.03632, allocations: 1.407 MB / 308.1 MB, free: 2.457 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.03635, allocations: 41.69 kB / 308.2 MB, free: 2.41 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005304/0.03688, allocations: 0.8415 MB / 309 MB, free: 1.559 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.03699, allocations: 214.1 kB / 309.2 MB, free: 1.348 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.03711, allocations: 135.8 kB / 309.3 MB, free: 1.207 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.03724, allocations: 0.5081 MB / 309.8 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.922e-05/0.03733, allocations: 85.58 kB / 309.9 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.03753, allocations: 322 kB / 310.2 MB, free: 204 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003556/0.03788, allocations: 480.5 kB / 310.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.03789, allocations: 4 kB / 310.7 MB, free: 15.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006574/0.03854, allocations: 0.7128 MB / 311.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.03856, allocations: 8 kB / 311.4 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.829e-05/0.03862, allocations: 60 kB / 311.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002475/0.03887, allocations: 134.5 kB / 311.6 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.03911, allocations: 115.8 kB / 311.7 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/0.04072, allocations: 2.549 MB / 314.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.04094, allocations: 23.92 kB / 314.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.04098, allocations: 28 kB / 314.3 MB, free: 11.89 MB / 298.7 MB 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.0001964/0.04117, allocations: 200.4 kB / 314.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.0413, allocations: 202.9 kB / 314.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007943/0.0421, allocations: 0.666 MB / 315.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.0421, allocations: 7.984 kB / 315.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.04211, allocations: 4 kB / 315.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.04211, allocations: 3.984 kB / 315.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005492/0.04266, allocations: 0.6023 MB / 316 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.152e-05/0.04271, allocations: 56 kB / 316.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.04286, allocations: 59.89 kB / 316.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002271/0.04309, allocations: 122.1 kB / 316.2 MB, free: 9.926 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.04311, allocations: 19.98 kB / 316.3 MB, free: 9.906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/0.04458, allocations: 2.547 MB / 318.8 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.04458, allocations: 0 / 318.8 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007046/0.04528, allocations: 0.7536 MB / 319.6 MB, free: 6.465 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.04546, allocations: 182.8 kB / 319.7 MB, free: 6.285 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.759e-05/0.04554, allocations: 12 kB / 319.8 MB, free: 6.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.04571, allocations: 11.98 kB / 319.8 MB, free: 6.262 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/0.04578, allocations: 52.36 kB / 319.8 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.04581, allocations: 20 kB / 319.8 MB, free: 6.188 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004731/0.04628, allocations: 0.7597 MB / 320.6 MB, free: 5.438 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04628, allocations: 0 / 320.6 MB, free: 5.438 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005899/0.04687, allocations: 383.2 kB / 321 MB, free: 5.062 MB / 298.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.000523/0.0474, allocations: 0.5157 MB / 321.5 MB, free: 4.535 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006625/0.04806, allocations: 0.6973 MB / 322.2 MB, free: 3.812 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.04806, allocations: 0 / 322.2 MB, free: 3.812 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004291/0.04849, allocations: 0.539 MB / 322.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005084/0.049, allocations: 210.3 kB / 322.9 MB, free: 3.027 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.05101, allocations: 2.235 MB / 325.2 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.05115, allocations: 232.6 kB / 325.4 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002903/0.05144, allocations: 187.2 kB / 325.6 MB, free: 316 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.05174, allocations: 310.1 kB / 325.9 MB, free: 4 kB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.05174, allocations: 0 / 325.9 MB, free: 4 kB / 298.7 MB Notification: Performance of Templates: time 0.0201/0.07184, allocations: 15.93 MB / 341.8 MB, free: 196 kB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.250476739834994]