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.009578/0.009578, allocations: 98.42 kB / 21.93 MB, free: 5.184 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.002572/0.002572, allocations: 221.2 kB / 25.22 MB, free: 3.156 MB / 14.72 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.489/1.489, allocations: 207.7 MB / 236.1 MB, free: 9.805 MB / 190.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002886/0.002886, allocations: 57.64 kB / 348.4 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3095, allocations: 49.14 MB / 397.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.006788/0.3163, allocations: 6.352 MB / 403.9 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.3279, allocations: 9.007 MB / 412.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/0.3299, allocations: 121 kB / 413.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002386/0.3323, allocations: 0.6272 MB / 413.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005245/0.3375, allocations: 1.19 MB / 414.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002486/0.34, allocations: 0.6659 MB / 415.6 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00465/0.3446, allocations: 2.501 MB / 418.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004114/0.3451, allocations: 175.8 kB / 418.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008596/0.3459, allocations: 496.9 kB / 418.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006295/0.3465, allocations: 0.4888 MB / 419.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.851e-05/0.3466, allocations: 54.94 kB / 419.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001776/0.3484, allocations: 0.6639 MB / 419.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.3486, allocations: 182.5 kB / 420.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005382/0.3491, allocations: 0.5077 MB / 420.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002701/0.3518, allocations: 1.971 MB / 422.6 MB, free: 9.242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3518, allocations: 0.8438 kB / 422.6 MB, free: 9.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3518, allocations: 0 / 422.6 MB, free: 9.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.746e-05/0.3519, allocations: 0 / 422.6 MB, free: 9.242 MB / 334.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.003598/0.3555, allocations: 1.968 MB / 424.5 MB, free: 7.754 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.3555, allocations: 13.73 kB / 424.6 MB, free: 7.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003507/0.3559, allocations: 211.2 kB / 424.8 MB, free: 7.641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00271/0.3586, allocations: 1.24 MB / 426 MB, free: 6.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/0.3586, allocations: 33 kB / 426 MB, free: 6.582 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.3587, allocations: 47.95 kB / 426.1 MB, free: 6.535 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.3598, allocations: 0.5119 MB / 426.6 MB, free: 6.016 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.3598, allocations: 0 / 426.6 MB, free: 6.016 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.667e-05/0.3598, allocations: 19.94 kB / 426.6 MB, free: 5.996 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/0.3599, allocations: 19.98 kB / 426.6 MB, free: 5.977 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000931/0.3608, allocations: 476.1 kB / 427.1 MB, free: 5.512 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003552/0.3643, allocations: 1.867 MB / 429 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009423/0.3653, allocations: 0.5038 MB / 429.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007158/0.366, allocations: 457.4 kB / 429.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006713/0.3727, allocations: 2.526 MB / 432.4 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006247/0.3733, allocations: 298.2 kB / 432.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=55): time 3.246e-06/0.3733, allocations: 0 / 432.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=59): time 0.004116/0.3775, allocations: 1.896 MB / 434.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.3775, allocations: 63.78 kB / 434.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/0.3792, allocations: 1.304 MB / 436 MB, free: 12.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/0.3793, allocations: 29.7 kB / 436 MB, free: 12.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006517/0.3799, allocations: 0.7195 MB / 436.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.3801, allocations: 214.2 kB / 436.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.3803, allocations: 122.3 kB / 437.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3804, allocations: 333.9 kB / 437.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004123/0.3808, allocations: 201.5 kB / 437.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005336/0.3814, allocations: 355.8 kB / 437.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00231/0.3837, allocations: 1.144 MB / 439.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.3837, allocations: 4 kB / 439.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001839/0.3855, allocations: 0.9206 MB / 440 MB, free: 8.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.3856, allocations: 8 kB / 440 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.967e-05/0.3857, allocations: 59.98 kB / 440.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004283/0.3861, allocations: 157.3 kB / 440.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004716/0.3866, allocations: 115.8 kB / 440.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002967/0.3895, allocations: 2.36 MB / 442.7 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008628/0.3904, allocations: 35.95 kB / 442.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-05/0.3905, allocations: 32 kB / 442.8 MB, free: 5.391 MB / 350.1 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.0005622/0.391, allocations: 277.7 kB / 443 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/0.3913, allocations: 190.8 kB / 443.2 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/0.393, allocations: 0.8775 MB / 444.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.393, allocations: 8 kB / 444.1 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3931, allocations: 8 kB / 444.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.3931, allocations: 0 / 444.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.3942, allocations: 0.7177 MB / 444.8 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.943e-05/0.3942, allocations: 59.94 kB / 444.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/0.3946, allocations: 59.89 kB / 445 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003706/0.3949, allocations: 153 kB / 445.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.154e-05/0.395, allocations: 16 kB / 445.1 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002783/0.3978, allocations: 2.337 MB / 447.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3978, allocations: 0 / 447.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/0.3999, allocations: 1.069 MB / 448.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005529/0.4004, allocations: 182.8 kB / 448.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.4005, allocations: 8 kB / 448.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003521/0.4009, allocations: 19.98 kB / 448.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.401, allocations: 52.23 kB / 448.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-05/0.4011, allocations: 27.98 kB / 448.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001165/0.4022, allocations: 0.8539 MB / 449.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4022, allocations: 0 / 449.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001026/0.4033, allocations: 387.2 kB / 450 MB, free: 13.95 MB / 366.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 (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.0007827/0.4041, allocations: 459.6 kB / 450.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.4058, allocations: 0.8049 MB / 451.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4058, allocations: 0 / 451.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.4068, allocations: 0.5474 MB / 451.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000829/0.4077, allocations: 182.2 kB / 452 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003833/0.4115, allocations: 2.48 MB / 454.5 MB, free: 9.387 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005848/0.4121, allocations: 0.5875 MB / 455.1 MB, free: 8.758 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.4122, allocations: 87.44 kB / 455.2 MB, free: 8.672 MB / 366.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4122, allocations: 0 / 455.2 MB, free: 8.672 MB / 366.1 MB Notification: Performance of Templates: time 0.03841/0.4507, allocations: 24.91 MB / 480.1 MB, free: 15.71 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/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: 8.905367411673069]