Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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.001046/0.001046, allocations: 84 kB / 21.43 MB, free: 3.129 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.003247/0.003247, allocations: 149.5 kB / 24.68 MB, free: 9.426 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.8076/0.8076, allocations: 173.4 MB / 201.2 MB, free: 9.066 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.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 319.7 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/1.981e-05, allocations: 2.281 kB / 319.7 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.00226/0.00228, allocations: 2.512 MB / 322.3 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007228/0.003003, allocations: 0.6505 MB / 322.9 MB, free: 2.598 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.648e-05/0.003099, allocations: 7.938 kB / 322.9 MB, free: 2.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.003213, allocations: 43.58 kB / 323 MB, free: 2.547 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.003334, allocations: 95.12 kB / 323 MB, free: 2.453 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.003524, allocations: 91.75 kB / 323.1 MB, free: 2.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.003759, allocations: 350.3 kB / 323.5 MB, free: 2.02 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.003912, allocations: 81.98 kB / 323.6 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.004082, allocations: 191.6 kB / 323.7 MB, free: 1.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.004187, allocations: 99.69 kB / 323.8 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.004222, allocations: 24 kB / 323.9 MB, free: 1.629 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.514e-05/0.004247, allocations: 31.94 kB / 323.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.882e-05/0.004286, allocations: 63.75 kB / 324 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.805e-05/0.004354, allocations: 99.75 kB / 324.1 MB, free: 1.438 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.004587, allocations: 326.9 kB / 324.4 MB, free: 1.117 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.004589, allocations: 0 / 324.4 MB, free: 1.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.00459, allocations: 4 kB / 324.4 MB, free: 1.113 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.004593, allocations: 7.938 kB / 324.4 MB, free: 1.105 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0006054/0.005199, allocations: 0.5092 MB / 324.9 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.005229, allocations: 16.86 kB / 324.9 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.005276, allocations: 32.75 kB / 324.9 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.005516, allocations: 201.3 kB / 325.1 MB, free: 304 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.00553, allocations: 16.88 kB / 325.2 MB, free: 288 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.00556, allocations: 24.38 kB / 325.2 MB, free: 264 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/0.005897, allocations: 356.4 kB / 325.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.005906, allocations: 192 / 325.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.005926, allocations: 12.38 kB / 325.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.005932, allocations: 11.94 kB / 325.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002533/0.006185, allocations: 205.9 kB / 325.8 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008616/0.007047, allocations: 0.8489 MB / 326.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.007331, allocations: 182.5 kB / 326.8 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.00755, allocations: 144.8 kB / 326.9 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.007564, allocations: 4 kB / 326.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.007585, allocations: 46.44 kB / 327 MB, free: 14.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.152e-06/0.007586, allocations: 0 / 327 MB, free: 14.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008446/0.008431, allocations: 489 kB / 327.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.008457, allocations: 55.41 kB / 327.5 MB, free: 13.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.008596, allocations: 219 kB / 327.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.008611, allocations: 29.7 kB / 327.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.413e-05/0.008685, allocations: 180.1 kB / 327.9 MB, free: 13.37 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.008716, allocations: 59.42 kB / 328 MB, free: 13.31 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.008764, allocations: 49.66 kB / 328 MB, free: 13.26 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.761e-05/0.008842, allocations: 338.8 kB / 328.4 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.2e-05/0.008934, allocations: 71.97 kB / 328.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.009046, allocations: 138.8 kB / 328.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.009263, allocations: 205.7 kB / 328.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.009268, allocations: 4 kB / 328.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004169/0.009685, allocations: 346.1 kB / 329.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.009696, allocations: 8.062 kB / 329.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.009702, allocations: 7.984 kB / 329.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001996/0.009901, allocations: 76.8 kB / 329.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.915e-05/0.01, allocations: 51.91 kB / 329.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.01146, allocations: 1.875 MB / 331.1 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.895e-05/0.01154, allocations: 27.84 kB / 331.2 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.01155, allocations: 12 kB / 331.2 MB, free: 9.945 MB / 298.7 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 8.199e-05/0.01164, allocations: 136.9 kB / 331.3 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.01166, allocations: 27.83 kB / 331.3 MB, free: 9.777 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.386e-05/0.01169, allocations: 21.81 kB / 331.3 MB, free: 9.754 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.41e-07/0.01169, allocations: 4.062 kB / 331.4 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.01169, allocations: 4 kB / 331.4 MB, free: 9.746 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01169, allocations: 3.984 kB / 331.4 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005781/0.01227, allocations: 0.5534 MB / 331.9 MB, free: 9.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.01227, allocations: 3.938 kB / 331.9 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.294e-05/0.01235, allocations: 31.98 kB / 331.9 MB, free: 9.113 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001378/0.01249, allocations: 76.8 kB / 332 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.0125, allocations: 4 kB / 332 MB, free: 9.031 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/0.01367, allocations: 1.793 MB / 333.8 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.01367, allocations: 0 / 333.8 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004578/0.01413, allocations: 454.6 kB / 334.3 MB, free: 6.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.01415, allocations: 19.92 kB / 334.3 MB, free: 6.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.01417, allocations: 11.92 kB / 334.3 MB, free: 6.648 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.856e-05/0.01426, allocations: 19.98 kB / 334.3 MB, free: 6.629 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/0.01428, allocations: 12.05 kB / 334.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.01428, allocations: 8 kB / 334.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.247e-05/0.01436, allocations: 152.6 kB / 334.5 MB, free: 6.461 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01436, allocations: 0 / 334.5 MB, free: 6.461 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002463/0.01461, allocations: 83.78 kB / 334.6 MB, free: 6.379 MB / 298.7 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 7.46e-05/0.01469, allocations: 103.2 kB / 334.7 MB, free: 6.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004672/0.01515, allocations: 358.7 kB / 335 MB, free: 5.906 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01515, allocations: 3.938 kB / 335 MB, free: 5.902 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.0153, allocations: 202.6 kB / 335.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.01553, allocations: 44.95 kB / 335.3 MB, free: 5.656 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.01668, allocations: 0.8286 MB / 336.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.521e-05/0.01676, allocations: 138.2 kB / 336.2 MB, free: 4.637 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.01679, allocations: 20.5 kB / 336.2 MB, free: 4.617 MB / 298.7 MB Notification: Performance of SimCode: time 4e-07/0.01679, allocations: 0 / 336.2 MB, free: 4.617 MB / 298.7 MB Notification: Performance of Templates: time 0.003342/0.02013, allocations: 3.761 MB / 340 MB, free: 0.8438 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.128752067685127]