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.000869/0.000869, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.0009169/0.0009169, allocations: 161.3 kB / 24.99 MB, free: 8.793 MB / 18.57 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 0.9915/0.9915, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,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 1.453e-06/1.453e-06, allocations: 0 / 273.1 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.063e-05, allocations: 2.312 kB / 273.1 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.006482/0.006503, allocations: 2.707 MB / 275.8 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004202/0.0107, allocations: 0.6932 MB / 276.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.01085, allocations: 7.938 kB / 276.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.01097, allocations: 47.56 kB / 276.6 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.01113, allocations: 99.11 kB / 276.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.01135, allocations: 91.81 kB / 276.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002915/0.01164, allocations: 346.4 kB / 277.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.01179, allocations: 82.03 kB / 277.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002663/0.01206, allocations: 199.5 kB / 277.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.01219, allocations: 103.7 kB / 277.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.01222, allocations: 28 kB / 277.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.313e-05/0.01226, allocations: 24 kB / 277.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.357e-05/0.0123, allocations: 63.75 kB / 277.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.177e-05/0.01239, allocations: 103.8 kB / 277.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.01262, allocations: 211.2 kB / 277.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.01262, allocations: 0 / 277.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01262, allocations: 0 / 277.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.788e-06/0.01263, allocations: 4 kB / 277.9 MB, free: 12.98 MB / 266.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.000653/0.01328, allocations: 0.6052 MB / 278.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.01331, allocations: 12.02 kB / 278.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002368/0.01568, allocations: 56.75 kB / 278.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.01612, allocations: 216.1 kB / 278.8 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.01615, allocations: 16.88 kB / 278.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.403e-05/0.0162, allocations: 32.31 kB / 278.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005028/0.01671, allocations: 306.8 kB / 279.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.01672, allocations: 192 / 279.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.01674, allocations: 12.38 kB / 279.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.01676, allocations: 11.94 kB / 279.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002389/0.017, allocations: 106.9 kB / 279.3 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.01836, allocations: 0.9366 MB / 280.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.01861, allocations: 139 kB / 280.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.01881, allocations: 111.6 kB / 280.4 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.01882, allocations: 8 kB / 280.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.01885, allocations: 41.64 kB / 280.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.01885, allocations: 0 / 280.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006388/0.01949, allocations: 319.6 kB / 280.8 MB, free: 9.883 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.01952, allocations: 51.41 kB / 280.8 MB, free: 9.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.01967, allocations: 269.6 kB / 281.1 MB, free: 9.539 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.01969, allocations: 29.7 kB / 281.1 MB, free: 9.504 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.243e-05/0.01978, allocations: 230.8 kB / 281.4 MB, free: 9.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.01982, allocations: 63.44 kB / 281.4 MB, free: 9.207 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.01987, allocations: 51.36 kB / 281.5 MB, free: 9.148 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.02001, allocations: 0.5039 MB / 282 MB, free: 8.633 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.635e-05/0.02006, allocations: 27.98 kB / 282 MB, free: 8.605 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.02016, allocations: 121.4 kB / 282.1 MB, free: 8.453 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.02033, allocations: 168.7 kB / 282.3 MB, free: 8.258 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.02033, allocations: 0 / 282.3 MB, free: 8.258 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003254/0.02066, allocations: 256.9 kB / 282.5 MB, free: 7.996 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.02067, allocations: 8 kB / 282.5 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.02068, allocations: 0 / 282.5 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002885/0.02097, allocations: 71.7 kB / 282.6 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.02108, allocations: 55.91 kB / 282.7 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.02244, allocations: 2.165 MB / 284.8 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.02254, allocations: 27.81 kB / 284.9 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.02256, allocations: 8.125 kB / 284.9 MB, free: 5.539 MB / 266.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 9.328e-05/0.02265, allocations: 168.5 kB / 285 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.02269, allocations: 35.83 kB / 285.1 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.383e-05/0.02272, allocations: 29.8 kB / 285.1 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.02272, allocations: 4 kB / 285.1 MB, free: 5.293 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.02273, allocations: 3.938 kB / 285.1 MB, free: 5.289 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.02273, allocations: 0 / 285.1 MB, free: 5.289 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005191/0.02325, allocations: 0.5086 MB / 285.6 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.02325, allocations: 0 / 285.6 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.309e-05/0.02334, allocations: 39.92 kB / 285.7 MB, free: 4.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001853/0.02353, allocations: 67.64 kB / 285.7 MB, free: 4.625 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.02354, allocations: 4 kB / 285.7 MB, free: 4.621 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.02461, allocations: 2.122 MB / 287.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.02461, allocations: 0 / 287.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/0.02497, allocations: 381.5 kB / 288.2 MB, free: 1.984 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.477e-05/0.025, allocations: 19.8 kB / 288.2 MB, free: 1.965 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.02502, allocations: 11.94 kB / 288.3 MB, free: 1.953 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.674e-05/0.0251, allocations: 15.98 kB / 288.3 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.02514, allocations: 15.97 kB / 288.3 MB, free: 1.922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.02515, allocations: 8.078 kB / 288.3 MB, free: 1.914 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001041/0.02525, allocations: 180.5 kB / 288.5 MB, free: 1.738 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02525, allocations: 0 / 288.5 MB, free: 1.738 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002898/0.02554, allocations: 75.89 kB / 288.5 MB, free: 1.664 MB / 266.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 0.0001148/0.02566, allocations: 107.2 kB / 288.6 MB, free: 1.551 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000418/0.02608, allocations: 337.5 kB / 289 MB, free: 1.203 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.02608, allocations: 0 / 289 MB, free: 1.203 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.02624, allocations: 244.2 kB / 289.2 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.0265, allocations: 35.25 kB / 289.2 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.02774, allocations: 0.663 MB / 289.9 MB, free: 228 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.046e-05/0.0278, allocations: 84.31 kB / 290 MB, free: 124 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.687e-05/0.02786, allocations: 13.95 kB / 290 MB, free: 112 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.02789, allocations: 20.5 kB / 290 MB, free: 92 kB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.02789, allocations: 4 kB / 290 MB, free: 88 kB / 266.7 MB Notification: Performance of Templates: time 0.004761/0.03266, allocations: 2.736 MB / 292.8 MB, free: 13.39 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8839615599717945]