Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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.001875/0.001875, allocations: 82.67 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.002166/0.002166, allocations: 162.2 kB / 23.95 MB, free: 4.156 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.485/1.485, allocations: 177.1 MB / 204.3 MB, free: 9.191 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.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=999,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=999,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 325.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.804e-05, allocations: 5.516 kB / 325.1 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003762/0.00379, allocations: 2.54 MB / 327.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.005284, allocations: 0.6826 MB / 328.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.005437, allocations: 4.906 kB / 328.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.005634, allocations: 51.5 kB / 328.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.005858, allocations: 91.02 kB / 328.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.006188, allocations: 97.28 kB / 328.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004266/0.006615, allocations: 347.3 kB / 328.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.006827, allocations: 77 kB / 329 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003899/0.007217, allocations: 201.2 kB / 329.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.007413, allocations: 104.3 kB / 329.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.07e-05/0.007464, allocations: 26.81 kB / 329.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.714e-05/0.007521, allocations: 27.25 kB / 329.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.586e-05/0.007597, allocations: 63.45 kB / 329.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.007753, allocations: 105.7 kB / 329.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004725/0.008226, allocations: 315.2 kB / 329.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.008231, allocations: 4.703 kB / 329.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.008232, allocations: 0 / 329.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.008239, allocations: 1.469 kB / 329.8 MB, free: 13.61 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001125/0.009364, allocations: 0.5174 MB / 330.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.009413, allocations: 9.844 kB / 330.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.033e-05/0.009504, allocations: 32 kB / 330.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.00987, allocations: 208.2 kB / 330.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.009898, allocations: 18.81 kB / 330.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.009947, allocations: 24.22 kB / 330.6 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006373/0.01058, allocations: 358.7 kB / 331 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.0106, allocations: 1.312 kB / 331 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.01063, allocations: 10.62 kB / 331 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.01064, allocations: 9.844 kB / 331 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004593/0.0111, allocations: 206.4 kB / 331.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.01273, allocations: 0.8671 MB / 332.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005469/0.01328, allocations: 174.4 kB / 332.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004372/0.01372, allocations: 144.8 kB / 332.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.01374, allocations: 2.875 kB / 332.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.01378, allocations: 39.75 kB / 332.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.01378, allocations: 0 / 332.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.00184/0.01562, allocations: 486.1 kB / 332.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.01567, allocations: 53.81 kB / 332.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.01593, allocations: 222.9 kB / 333.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.01596, allocations: 27.02 kB / 333.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.0161, allocations: 182.4 kB / 333.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.083e-05/0.01616, allocations: 75.44 kB / 333.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-05/0.01625, allocations: 49.91 kB / 333.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.01643, allocations: 334.7 kB / 333.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.01662, allocations: 64.34 kB / 333.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.01685, allocations: 134 kB / 334 MB, free: 10.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/0.01728, allocations: 205.2 kB / 334.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01728, allocations: 1.375 kB / 334.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009051/0.01818, allocations: 353.8 kB / 334.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.0182, allocations: 14.86 kB / 334.6 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.01821, allocations: 1.344 kB / 334.6 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003848/0.01859, allocations: 73.59 kB / 334.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.01879, allocations: 55.22 kB / 334.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003096/0.02188, allocations: 1.861 MB / 336.6 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.02209, allocations: 29.94 kB / 336.6 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.02211, allocations: 11.31 kB / 336.6 MB, free: 8.496 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001539/0.02226, allocations: 137.2 kB / 336.7 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.379e-05/0.02233, allocations: 29.42 kB / 336.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.718e-05/0.02238, allocations: 26.44 kB / 336.8 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.02238, allocations: 3 kB / 336.8 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.02238, allocations: 0 / 336.8 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.02239, allocations: 3.984 kB / 336.8 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.02356, allocations: 0.5571 MB / 337.4 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.02356, allocations: 4.125 kB / 337.4 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.02374, allocations: 37.55 kB / 337.4 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002826/0.02402, allocations: 75.39 kB / 337.5 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.02404, allocations: 5.188 kB / 337.5 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002633/0.02667, allocations: 1.779 MB / 339.3 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.02667, allocations: 0 / 339.3 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.02776, allocations: 457.2 kB / 339.7 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.02781, allocations: 31.8 kB / 339.7 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.02784, allocations: 3.938 kB / 339.7 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.02805, allocations: 24.05 kB / 339.8 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.02808, allocations: 7.984 kB / 339.8 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.0281, allocations: 8 kB / 339.8 MB, free: 5.906 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001645/0.02826, allocations: 160.6 kB / 339.9 MB, free: 5.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.02826, allocations: 0 / 339.9 MB, free: 5.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000453/0.02872, allocations: 71.84 kB / 340 MB, free: 5.68 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001605/0.02888, allocations: 103.3 kB / 340.1 MB, free: 5.566 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.02988, allocations: 365.7 kB / 340.5 MB, free: 5.199 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.02988, allocations: 0 / 340.5 MB, free: 5.199 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003362/0.03022, allocations: 206.5 kB / 340.7 MB, free: 4.984 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.03059, allocations: 38.25 kB / 340.7 MB, free: 4.949 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.0331, allocations: 0.8033 MB / 341.5 MB, free: 4.113 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.03325, allocations: 146 kB / 341.6 MB, free: 3.957 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.658e-05/0.03334, allocations: 21.94 kB / 341.7 MB, free: 3.926 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.264e-05/0.03339, allocations: 20.5 kB / 341.7 MB, free: 3.906 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.03339, allocations: 0 / 341.7 MB, free: 3.906 MB / 302.1 MB Notification: Performance of Templates: time 0.006986/0.04038, allocations: 2.687 MB / 344.4 MB, free: 1.266 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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.4229960180819035]