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.001536/0.001536, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.00133/0.00133, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.002/1.002, allocations: 177.1 MB / 205 MB, free: 5.645 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.553e-06/1.553e-06, allocations: 0 / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.667e-05/1.822e-05, allocations: 2.312 kB / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.00636/0.006379, allocations: 2.724 MB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.007506, allocations: 0.6894 MB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.007651, allocations: 7.938 kB / 276.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.007834, allocations: 51.56 kB / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.008049, allocations: 95.12 kB / 276.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.008343, allocations: 91.81 kB / 276.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003702/0.008714, allocations: 350.3 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.008921, allocations: 74.05 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003626/0.009284, allocations: 203.5 kB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.009455, allocations: 103.7 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.009502, allocations: 28 kB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.803e-05/0.00955, allocations: 28 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.146e-05/0.009602, allocations: 59.75 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.009717, allocations: 107.7 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.01001, allocations: 203.2 kB / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.01001, allocations: 3.938 kB / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.01001, allocations: 3.984 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.01002, allocations: 4 kB / 277.8 MB, free: 12.68 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.0006777/0.0107, allocations: 0.6052 MB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.01074, allocations: 8.031 kB / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.01081, allocations: 52.75 kB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.01105, allocations: 220.1 kB / 278.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.01107, allocations: 16.88 kB / 278.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/0.01112, allocations: 32.36 kB / 278.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.01144, allocations: 310.7 kB / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.01145, allocations: 192 / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.01147, allocations: 12.38 kB / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.01148, allocations: 11.94 kB / 279.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.01162, allocations: 102.9 kB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000952/0.01258, allocations: 0.9405 MB / 280.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.01282, allocations: 143 kB / 280.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.01301, allocations: 111.6 kB / 280.4 MB, free: 9.961 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.01303, allocations: 0 / 280.4 MB, free: 9.961 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.01306, allocations: 45.64 kB / 280.4 MB, free: 9.906 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.182e-06/0.01306, allocations: 0 / 280.4 MB, free: 9.906 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006158/0.01367, allocations: 318.8 kB / 280.7 MB, free: 9.586 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.0137, allocations: 51.41 kB / 280.8 MB, free: 9.523 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.01385, allocations: 261.6 kB / 281 MB, free: 9.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.01387, allocations: 29.7 kB / 281.1 MB, free: 9.215 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.278e-05/0.01396, allocations: 230.8 kB / 281.3 MB, free: 8.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.014, allocations: 71.42 kB / 281.4 MB, free: 8.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.01405, allocations: 47.38 kB / 281.4 MB, free: 8.855 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.01419, allocations: 0.5039 MB / 281.9 MB, free: 8.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.158e-05/0.01424, allocations: 31.97 kB / 281.9 MB, free: 8.309 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.355e-05/0.01432, allocations: 117.4 kB / 282.1 MB, free: 8.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.01447, allocations: 161.3 kB / 282.2 MB, free: 7.969 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.01447, allocations: 4 kB / 282.2 MB, free: 7.965 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004977/0.01497, allocations: 255.8 kB / 282.5 MB, free: 7.707 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.01498, allocations: 8 kB / 282.5 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.01499, allocations: 4.219 kB / 282.5 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000262/0.01525, allocations: 71.62 kB / 282.5 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.01536, allocations: 55.92 kB / 282.6 MB, free: 7.566 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.01659, allocations: 2.165 MB / 284.8 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.056e-05/0.01667, allocations: 31.8 kB / 284.8 MB, free: 5.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.01668, allocations: 8 kB / 284.8 MB, free: 5.242 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 8.583e-05/0.01677, allocations: 168.5 kB / 285 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.01681, allocations: 27.8 kB / 285 MB, free: 5.039 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.656e-05/0.01683, allocations: 25.92 kB / 285 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01684, allocations: 4 kB / 285 MB, free: 5.008 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.01684, allocations: 8.031 kB / 285 MB, free: 5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01684, allocations: 3.938 kB / 285 MB, free: 4.996 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004677/0.01731, allocations: 0.5152 MB / 285.6 MB, free: 4.438 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.01731, allocations: 0 / 285.6 MB, free: 4.438 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.304e-05/0.0174, allocations: 27.98 kB / 285.6 MB, free: 4.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001672/0.01756, allocations: 79.56 kB / 285.7 MB, free: 4.328 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.01758, allocations: 4 kB / 285.7 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.01866, allocations: 2.114 MB / 287.8 MB, free: 2.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.01866, allocations: 4 kB / 287.8 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.01901, allocations: 379.2 kB / 288.2 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.366e-05/0.01904, allocations: 27.8 kB / 288.2 MB, free: 1.664 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.01906, allocations: 7.922 kB / 288.2 MB, free: 1.656 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.01917, allocations: 16 kB / 288.2 MB, free: 1.641 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.01919, allocations: 11.97 kB / 288.2 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.0192, allocations: 8 kB / 288.2 MB, free: 1.621 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.124e-05/0.01929, allocations: 184.5 kB / 288.4 MB, free: 1.441 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01929, allocations: 0 / 288.4 MB, free: 1.441 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002521/0.01954, allocations: 79.92 kB / 288.5 MB, free: 1.363 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 7.972e-05/0.01962, allocations: 99.19 kB / 288.6 MB, free: 1.258 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003945/0.02002, allocations: 337.8 kB / 288.9 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.02002, allocations: 0 / 288.9 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.02016, allocations: 241.4 kB / 289.1 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.02038, allocations: 35.25 kB / 289.2 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.02173, allocations: 0.6654 MB / 289.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.343e-05/0.02179, allocations: 84.31 kB / 289.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.123e-05/0.02184, allocations: 17.95 kB / 289.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.02188, allocations: 20.5 kB / 290 MB, free: 15.79 MB / 282.7 MB Notification: Performance of SimCode: time 1.413e-06/0.02188, allocations: 0 / 290 MB, free: 15.79 MB / 282.7 MB Notification: Performance of Templates: time 0.00476/0.02664, allocations: 2.738 MB / 292.7 MB, free: 13.09 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: 3.0902689388021827]