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.002312/0.002312, allocations: 111 kB / 21.18 MB, free: 0.6758 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.00309/0.00309, allocations: 206.8 kB / 24.48 MB, free: 3.977 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.743/1.743, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.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 0.001507/0.001507, allocations: 51.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3802, allocations: 53.37 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.00839/0.3885, allocations: 6.485 MB / 438.8 MB, free: 212 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01401/0.4026, allocations: 9.313 MB / 448.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.4042, allocations: 126.6 kB / 448.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002202/0.4064, allocations: 0.6451 MB / 448.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004631/0.411, allocations: 1.21 MB / 450.1 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002615/0.4136, allocations: 0.672 MB / 450.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004977/0.4186, allocations: 2.571 MB / 453.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005691/0.4192, allocations: 184.3 kB / 453.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.4202, allocations: 0.5132 MB / 454 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007689/0.421, allocations: 0.5395 MB / 454.6 MB, free: 364 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.4211, allocations: 56 kB / 454.6 MB, free: 308 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00223/0.4233, allocations: 0.722 MB / 455.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.4235, allocations: 182.8 kB / 455.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006477/0.4242, allocations: 0.5046 MB / 456 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003051/0.4272, allocations: 1.987 MB / 458 MB, free: 12.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.4272, allocations: 3.938 kB / 458 MB, free: 12.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4272, allocations: 0 / 458 MB, free: 12.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.589e-05/0.4273, allocations: 0 / 458 MB, free: 12.89 MB / 366.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.003592/0.4309, allocations: 1.963 MB / 460 MB, free: 10.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.4309, allocations: 12.03 kB / 460 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002875/0.4312, allocations: 207.7 kB / 460.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/0.4335, allocations: 1.24 MB / 461.4 MB, free: 9.375 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.147e-05/0.4336, allocations: 36.94 kB / 461.5 MB, free: 9.336 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.4337, allocations: 47.95 kB / 461.5 MB, free: 9.289 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.4348, allocations: 0.5158 MB / 462 MB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.4348, allocations: 0 / 462 MB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.942e-05/0.4348, allocations: 19.98 kB / 462.1 MB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.4349, allocations: 16 kB / 462.1 MB, free: 8.734 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009996/0.4359, allocations: 480 kB / 462.5 MB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003558/0.4394, allocations: 1.86 MB / 464.4 MB, free: 6.344 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.4404, allocations: 0.506 MB / 464.9 MB, free: 5.828 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007991/0.4412, allocations: 469.3 kB / 465.4 MB, free: 5.371 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005495/0.4467, allocations: 2.276 MB / 467.6 MB, free: 3.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006534/0.4474, allocations: 313.5 kB / 468 MB, free: 2.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 2.735e-06/0.4474, allocations: 0 / 468 MB, free: 2.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005428/0.4528, allocations: 2.274 MB / 470.2 MB, free: 448 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.4529, allocations: 63.84 kB / 470.3 MB, free: 372 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/0.4547, allocations: 1.291 MB / 471.6 MB, free: 15.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.06e-05/0.4548, allocations: 33.7 kB / 471.6 MB, free: 15.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006945/0.4555, allocations: 0.7002 MB / 472.3 MB, free: 14.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.4557, allocations: 226 kB / 472.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/0.4559, allocations: 130.3 kB / 472.7 MB, free: 13.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.4561, allocations: 333.9 kB / 473 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/0.4566, allocations: 213.6 kB / 473.2 MB, free: 13.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006099/0.4572, allocations: 360.4 kB / 473.5 MB, free: 13.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.4584, allocations: 0.6203 MB / 474.2 MB, free: 12.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4584, allocations: 0 / 474.2 MB, free: 12.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002022/0.4604, allocations: 0.9677 MB / 475.1 MB, free: 11.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.4605, allocations: 8 kB / 475.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001042/0.4606, allocations: 64 kB / 475.2 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000562/0.4611, allocations: 181.2 kB / 475.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.4616, allocations: 115.8 kB / 475.5 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003738/0.4653, allocations: 2.6 MB / 478.1 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006568/0.466, allocations: 35.95 kB / 478.1 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-05/0.4661, allocations: 32 kB / 478.2 MB, free: 8.246 MB / 382.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.0005444/0.4666, allocations: 269.7 kB / 478.4 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/0.4669, allocations: 190.9 kB / 478.6 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/0.469, allocations: 0.9696 MB / 479.6 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.4691, allocations: 4 kB / 479.6 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.4691, allocations: 4 kB / 479.6 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.4691, allocations: 3.984 kB / 479.6 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.4703, allocations: 0.7335 MB / 480.3 MB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.259e-05/0.4704, allocations: 63.98 kB / 480.4 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003323/0.4707, allocations: 71.89 kB / 480.5 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004737/0.4712, allocations: 174.5 kB / 480.6 MB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.915e-05/0.4713, allocations: 16 kB / 480.6 MB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003704/0.475, allocations: 2.6 MB / 483.2 MB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.475, allocations: 0 / 483.2 MB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002675/0.4776, allocations: 1.181 MB / 484.4 MB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006165/0.4783, allocations: 182.8 kB / 484.6 MB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.4784, allocations: 12 kB / 484.6 MB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003825/0.4788, allocations: 19.98 kB / 484.6 MB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.479, allocations: 56.25 kB / 484.7 MB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.745e-05/0.479, allocations: 27.98 kB / 484.7 MB, free: 1.512 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001296/0.4803, allocations: 0.8534 MB / 485.6 MB, free: 0.668 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4803, allocations: 7.938 kB / 485.6 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001248/0.4816, allocations: 391.2 kB / 486 MB, free: 284 kB / 382.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.001006/0.4826, allocations: 455.7 kB / 486.4 MB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001979/0.4846, allocations: 0.8786 MB / 487.3 MB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4846, allocations: 0 / 487.3 MB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.4857, allocations: 0.6157 MB / 487.9 MB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.4867, allocations: 214.2 kB / 488.1 MB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/0.4909, allocations: 2.458 MB / 490.6 MB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006811/0.4916, allocations: 0.5877 MB / 491.2 MB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005913/0.4922, allocations: 187.2 kB / 491.3 MB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.4923, allocations: 83.44 kB / 491.4 MB, free: 10.67 MB / 398.1 MB Notification: Performance of SimCode: time 1.573e-06/0.4923, allocations: 0 / 491.4 MB, free: 10.67 MB / 398.1 MB Notification: Performance of Templates: time 0.03352/0.5258, allocations: 16.57 MB / 0.4961 GB, free: 10.21 MB / 414.1 MB " [Timeout remaining time 659] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/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: 6.062510214003851]