Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001306/0.001306, allocations: 85.33 kB / 20.68 MB, free: 1.023 MB / 14.72 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.00137/0.00137, allocations: 168 kB / 23.96 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.408/1.408, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 325 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.315e-05, allocations: 6.219 kB / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007748/0.007771, allocations: 6.486 MB / 331.5 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01297/0.02074, allocations: 9.345 MB / 340.9 MB, free: 4.953 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.02198, allocations: 124.6 kB / 341 MB, free: 4.863 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.02377, allocations: 0.6403 MB / 341.6 MB, free: 4.406 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00364/0.02741, allocations: 1.255 MB / 342.9 MB, free: 3.277 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.02921, allocations: 0.6835 MB / 343.6 MB, free: 2.586 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004161/0.03337, allocations: 2.644 MB / 346.2 MB, free: 15.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003602/0.03373, allocations: 172.4 kB / 346.4 MB, free: 15.74 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000856/0.03459, allocations: 0.7169 MB / 347.1 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005459/0.03513, allocations: 378.6 kB / 347.5 MB, free: 14.65 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.03524, allocations: 56 kB / 347.5 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.03673, allocations: 0.6907 MB / 348.2 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.03691, allocations: 194.7 kB / 348.4 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004475/0.03736, allocations: 374.8 kB / 348.8 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002336/0.03969, allocations: 2.005 MB / 350.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.03969, allocations: 0 / 350.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.0397, allocations: 0 / 350.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.03971, allocations: 0 / 350.8 MB, free: 11.34 MB / 318.1 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.002868/0.04258, allocations: 1.951 MB / 352.7 MB, free: 9.344 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.04261, allocations: 8.031 kB / 352.7 MB, free: 9.336 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002501/0.04286, allocations: 207.7 kB / 352.9 MB, free: 9.133 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/0.04489, allocations: 1.239 MB / 354.2 MB, free: 7.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.423e-05/0.04494, allocations: 33.38 kB / 354.2 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-05/0.04502, allocations: 48.38 kB / 354.3 MB, free: 7.758 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.04605, allocations: 0.5158 MB / 354.8 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.04607, allocations: 0 / 354.8 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.535e-05/0.04612, allocations: 19.98 kB / 354.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.04614, allocations: 12 kB / 354.8 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.04715, allocations: 480 kB / 355.3 MB, free: 6.742 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003119/0.05027, allocations: 1.872 MB / 357.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009875/0.05126, allocations: 0.4914 MB / 357.6 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007676/0.05203, allocations: 469.3 kB / 358.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005126/0.05715, allocations: 2.265 MB / 360.4 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006489/0.0578, allocations: 318 kB / 360.7 MB, free: 1.227 MB / 318.1 MB Notification: Performance of pre-optimization done (n=61): time 2.585e-06/0.0578, allocations: 0 / 360.7 MB, free: 1.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.005345/0.06315, allocations: 2.286 MB / 363 MB, free: 14.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.0632, allocations: 55.91 kB / 363 MB, free: 14.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.06479, allocations: 1.288 MB / 364.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.613e-05/0.06485, allocations: 41.69 kB / 364.4 MB, free: 13.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006568/0.06551, allocations: 0.7002 MB / 365.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.0657, allocations: 230 kB / 365.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.06589, allocations: 118.3 kB / 365.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.06605, allocations: 337.9 kB / 365.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004832/0.06653, allocations: 213.6 kB / 365.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005938/0.06713, allocations: 367 kB / 366.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.06824, allocations: 0.6165 MB / 366.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.06825, allocations: 0 / 366.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00182/0.07007, allocations: 0.9716 MB / 367.9 MB, free: 9.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.07008, allocations: 4 kB / 367.9 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.424e-05/0.07018, allocations: 64.5 kB / 367.9 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005272/0.0707, allocations: 187.7 kB / 368.1 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004948/0.0712, allocations: 111.8 kB / 368.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003423/0.07462, allocations: 2.586 MB / 370.8 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004807/0.0751, allocations: 32.02 kB / 370.9 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.228e-05/0.07516, allocations: 28 kB / 370.9 MB, free: 6.738 MB / 334.1 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.0004196/0.07558, allocations: 278.2 kB / 371.2 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/0.07579, allocations: 190.8 kB / 371.3 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/0.07781, allocations: 0.9623 MB / 372.3 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-06/0.07782, allocations: 4 kB / 372.3 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.07782, allocations: 4 kB / 372.3 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.07783, allocations: 3.984 kB / 372.3 MB, free: 5.273 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009589/0.07879, allocations: 0.7449 MB / 373.1 MB, free: 4.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.286e-05/0.07888, allocations: 60 kB / 373.1 MB, free: 4.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003478/0.07923, allocations: 67.94 kB / 373.2 MB, free: 4.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004767/0.07971, allocations: 183.8 kB / 373.4 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.793e-05/0.07976, allocations: 20 kB / 373.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003434/0.08319, allocations: 2.585 MB / 376 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.08319, allocations: 3.938 kB / 376 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/0.08542, allocations: 1.185 MB / 377.2 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003144/0.08574, allocations: 182.8 kB / 377.3 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.08588, allocations: 12 kB / 377.3 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.08627, allocations: 15.98 kB / 377.4 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.0864, allocations: 60.34 kB / 377.4 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.496e-05/0.08647, allocations: 28.03 kB / 377.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001094/0.08756, allocations: 0.8495 MB / 378.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.08756, allocations: 0 / 378.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009083/0.08847, allocations: 391.2 kB / 378.7 MB, free: 14.77 MB / 350.1 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.0007994/0.08927, allocations: 499.1 kB / 379.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001761/0.09103, allocations: 0.8716 MB / 380 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.09103, allocations: 0 / 380 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.09214, allocations: 0.6123 MB / 380.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008581/0.093, allocations: 214.2 kB / 380.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003368/0.09637, allocations: 2.354 MB / 383.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005708/0.09694, allocations: 0.5877 MB / 383.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004454/0.09738, allocations: 187.2 kB / 384 MB, free: 9.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.09752, allocations: 84.5 kB / 384.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of SimCode: time 5e-07/0.09752, allocations: 0 / 384.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of Templates: time 0.02849/0.126, allocations: 14.46 MB / 398.5 MB, free: 10.9 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.725831549614668]