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.0008107/0.0008107, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001128/0.001939, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006604/0.0006604, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009055/0.001566, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.9778/0.9778, allocations: 173.4 MB / 185.9 MB, free: 8.926 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1227/1.1, allocations: 52.5 MB / 238.4 MB, free: 4.363 MB / 234.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=1000,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=1000,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.022e-06/1.022e-06, allocations: 0 / 239.8 MB, free: 3.043 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.608e-06/1.063e-05, allocations: 3.438 kB / 239.8 MB, free: 3.039 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002276/0.002287, allocations: 2.74 MB / 242.5 MB, free: 292 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008312/0.003118, allocations: 0.6777 MB / 243.2 MB, free: 15.6 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.08e-05/0.003209, allocations: 8 kB / 243.2 MB, free: 15.59 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.072e-05/0.00329, allocations: 55.33 kB / 243.3 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.00341, allocations: 83.25 kB / 243.3 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001347/0.003545, allocations: 95.81 kB / 243.4 MB, free: 15.36 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.00378, allocations: 358.2 kB / 243.8 MB, free: 15.01 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.003906, allocations: 79.95 kB / 243.9 MB, free: 14.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.00412, allocations: 222.1 kB / 244.1 MB, free: 14.72 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.004236, allocations: 99.69 kB / 244.2 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.00427, allocations: 28 kB / 244.2 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.131e-05/0.004301, allocations: 28 kB / 244.2 MB, free: 14.57 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.446e-05/0.004336, allocations: 43.81 kB / 244.3 MB, free: 14.52 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.194e-05/0.004398, allocations: 83.88 kB / 244.4 MB, free: 14.44 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.004571, allocations: 191.3 kB / 244.5 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.00458, allocations: 4 kB / 244.5 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004581, allocations: 0 / 244.5 MB, free: 14.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.004591, allocations: 0 / 244.5 MB, free: 14.25 MB / 250.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.000584/0.005175, allocations: 0.5465 MB / 245.1 MB, free: 13.68 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.687e-05/0.005202, allocations: 8.031 kB / 245.1 MB, free: 13.67 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.722e-05/0.00526, allocations: 44.89 kB / 245.1 MB, free: 13.63 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.005444, allocations: 177.3 kB / 245.3 MB, free: 13.43 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.00546, allocations: 20.88 kB / 245.3 MB, free: 13.41 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.005492, allocations: 28.36 kB / 245.4 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.005736, allocations: 297.1 kB / 245.7 MB, free: 13.06 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.005745, allocations: 8.109 kB / 245.7 MB, free: 13.05 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.005759, allocations: 12.38 kB / 245.7 MB, free: 13.04 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.005769, allocations: 15.88 kB / 245.7 MB, free: 13.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.927e-05/0.005849, allocations: 63.47 kB / 245.7 MB, free: 12.96 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007188/0.006567, allocations: 0.7009 MB / 246.4 MB, free: 12.22 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.006744, allocations: 110.5 kB / 246.6 MB, free: 12.1 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.006883, allocations: 104.8 kB / 246.7 MB, free: 12 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.006897, allocations: 4 kB / 246.7 MB, free: 11.99 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.006917, allocations: 34.56 kB / 246.7 MB, free: 11.95 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.006918, allocations: 0 / 246.7 MB, free: 11.95 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.000475/0.007393, allocations: 276.9 kB / 247 MB, free: 11.67 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.007415, allocations: 55.41 kB / 247 MB, free: 11.61 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.007523, allocations: 202.2 kB / 247.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.007537, allocations: 33.64 kB / 247.3 MB, free: 11.36 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.007597, allocations: 172.1 kB / 247.4 MB, free: 11.18 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.007629, allocations: 63.42 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.007675, allocations: 49.67 kB / 247.5 MB, free: 11.07 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.113e-05/0.007746, allocations: 330.7 kB / 247.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.674e-05/0.007773, allocations: 23.98 kB / 247.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.427e-05/0.007827, allocations: 86.83 kB / 248 MB, free: 10.6 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.00793, allocations: 133.4 kB / 248.1 MB, free: 10.45 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.007932, allocations: 0 / 248.1 MB, free: 10.45 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002116/0.008144, allocations: 194.2 kB / 248.3 MB, free: 10.25 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.008155, allocations: 8 kB / 248.3 MB, free: 10.24 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.008159, allocations: 0 / 248.3 MB, free: 10.24 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001913/0.00835, allocations: 76.89 kB / 248.4 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.008495, allocations: 67.09 kB / 248.4 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008451/0.00934, allocations: 1.477 MB / 249.9 MB, free: 8.531 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.435e-05/0.009415, allocations: 23.88 kB / 249.9 MB, free: 8.508 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.009424, allocations: 15.97 kB / 249.9 MB, free: 8.492 MB / 250.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 6.836e-05/0.009492, allocations: 129.7 kB / 250.1 MB, free: 8.355 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.009519, allocations: 20.02 kB / 250.1 MB, free: 8.336 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.979e-05/0.009538, allocations: 25.8 kB / 250.1 MB, free: 8.316 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.009539, allocations: 7.938 kB / 250.1 MB, free: 8.309 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.009541, allocations: 0 / 250.1 MB, free: 8.309 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.009543, allocations: 128 / 250.1 MB, free: 8.309 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003861/0.009929, allocations: 367.3 kB / 250.5 MB, free: 7.922 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.009932, allocations: 3.938 kB / 250.5 MB, free: 7.918 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.01004, allocations: 47.95 kB / 250.5 MB, free: 7.871 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/0.01006, allocations: 27.8 kB / 250.6 MB, free: 7.844 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000144/0.01021, allocations: 64.81 kB / 250.6 MB, free: 7.777 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.01021, allocations: 4 kB / 250.6 MB, free: 7.773 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006952/0.01091, allocations: 1.426 MB / 252.1 MB, free: 6.266 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.01091, allocations: 0 / 252.1 MB, free: 6.266 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.01119, allocations: 286.8 kB / 252.3 MB, free: 5.969 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.01121, allocations: 4 kB / 252.3 MB, free: 5.965 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.453e-05/0.01129, allocations: 24.05 kB / 252.4 MB, free: 5.941 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.01131, allocations: 11.97 kB / 252.4 MB, free: 5.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.01132, allocations: 8 kB / 252.4 MB, free: 5.922 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.568e-05/0.01136, allocations: 69.88 kB / 252.4 MB, free: 5.852 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01136, allocations: 0 / 252.4 MB, free: 5.852 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00022/0.01158, allocations: 71.89 kB / 252.5 MB, free: 5.781 MB / 250.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.289e-05/0.01166, allocations: 88.42 kB / 252.6 MB, free: 5.684 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002976/0.01195, allocations: 262.7 kB / 252.9 MB, free: 5.414 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/0.01196, allocations: 4 kB / 252.9 MB, free: 5.41 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.01208, allocations: 188 kB / 253.1 MB, free: 5.211 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.01236, allocations: 359 kB / 253.4 MB, free: 4.789 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.0145, allocations: 0.6388 MB / 254 MB, free: 4.117 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.374e-05/0.01455, allocations: 84.31 kB / 254.1 MB, free: 4.016 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.438e-05/0.0146, allocations: 21.98 kB / 254.1 MB, free: 3.992 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.397e-05/0.0147, allocations: 95.34 kB / 254.2 MB, free: 3.898 MB / 250.7 MB Notification: Performance of SimCode: time 6.81e-07/0.0147, allocations: 0 / 254.2 MB, free: 3.898 MB / 250.7 MB Notification: Performance of Templates: time 0.004425/0.01912, allocations: 3.258 MB / 257.5 MB, free: 0.6875 MB / 250.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.485450128093362]