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.001129/0.001129, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001822/0.002951, allocations: 449.7 kB / 10.37 MB, free: 332 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.001043/0.001043, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001523/0.002565, allocations: 459.6 kB / 11.69 MB, free: 2.48 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 1.006/1.006, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09055/1.097, allocations: 52.49 MB / 238.3 MB, free: 4.434 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.152e-06/1.152e-06, allocations: 0 / 239.6 MB, free: 3.137 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/1.996e-05, allocations: 2.875 kB / 239.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002762/0.002782, allocations: 2.736 MB / 242.3 MB, free: 396 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.003842, allocations: 0.6855 MB / 243 MB, free: 15.69 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.003965, allocations: 7.938 kB / 243 MB, free: 15.68 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.477e-05/0.00405, allocations: 47.56 kB / 243.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.004191, allocations: 95.02 kB / 243.2 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.004361, allocations: 91.86 kB / 243.3 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.004655, allocations: 346.3 kB / 243.6 MB, free: 15.12 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.004806, allocations: 91.81 kB / 243.7 MB, free: 15.03 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.005076, allocations: 211.6 kB / 243.9 MB, free: 14.82 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.005201, allocations: 107.7 kB / 244 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.005239, allocations: 28 kB / 244 MB, free: 14.69 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.934e-05/0.005269, allocations: 28 kB / 244 MB, free: 14.66 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.381e-05/0.005302, allocations: 39.88 kB / 244.1 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.823e-05/0.005381, allocations: 91.81 kB / 244.2 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.0056, allocations: 191.3 kB / 244.4 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.54e-05/0.005615, allocations: 0 / 244.4 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005616, allocations: 0 / 244.4 MB, free: 14.34 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.005633, allocations: 0 / 244.4 MB, free: 14.34 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.000661/0.006294, allocations: 0.5426 MB / 244.9 MB, free: 13.77 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.006326, allocations: 11.97 kB / 244.9 MB, free: 13.76 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.897e-05/0.006385, allocations: 44.89 kB / 245 MB, free: 13.72 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.006594, allocations: 173.4 kB / 245.1 MB, free: 13.52 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.00661, allocations: 16.88 kB / 245.1 MB, free: 13.51 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.006642, allocations: 24.38 kB / 245.2 MB, free: 13.48 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.006924, allocations: 305 kB / 245.5 MB, free: 13.15 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.006933, allocations: 192 / 245.5 MB, free: 13.15 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.00695, allocations: 8.375 kB / 245.5 MB, free: 13.14 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.006956, allocations: 11.94 kB / 245.5 MB, free: 13.13 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.388e-05/0.00704, allocations: 63.47 kB / 245.5 MB, free: 13.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008191/0.007859, allocations: 0.7087 MB / 246.3 MB, free: 12.32 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.008081, allocations: 106.5 kB / 246.4 MB, free: 12.21 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.008231, allocations: 112.6 kB / 246.5 MB, free: 12.09 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.008253, allocations: 4 kB / 246.5 MB, free: 12.09 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.008276, allocations: 38.56 kB / 246.5 MB, free: 12.04 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.008277, allocations: 3.938 kB / 246.5 MB, free: 12.04 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.000519/0.008796, allocations: 272.9 kB / 246.8 MB, free: 11.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/0.008819, allocations: 51.41 kB / 246.8 MB, free: 11.7 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.00894, allocations: 210.2 kB / 247 MB, free: 11.48 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.008953, allocations: 25.7 kB / 247.1 MB, free: 11.45 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.009021, allocations: 172.1 kB / 247.2 MB, free: 11.28 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.009053, allocations: 63.42 kB / 247.3 MB, free: 11.22 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.009098, allocations: 45.69 kB / 247.3 MB, free: 11.17 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.806e-05/0.009176, allocations: 334.7 kB / 247.7 MB, free: 10.83 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.269e-05/0.009209, allocations: 23.98 kB / 247.7 MB, free: 10.81 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.905e-05/0.009268, allocations: 90.83 kB / 247.8 MB, free: 10.7 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.009372, allocations: 117.5 kB / 247.9 MB, free: 10.56 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.009375, allocations: 0 / 247.9 MB, free: 10.56 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002361/0.009611, allocations: 194.2 kB / 248.1 MB, free: 10.36 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.009624, allocations: 4 kB / 248.1 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.00963, allocations: 4 kB / 248.1 MB, free: 10.35 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002102/0.00984, allocations: 76.89 kB / 248.2 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.01, allocations: 75.12 kB / 248.2 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009498/0.01095, allocations: 1.484 MB / 249.7 MB, free: 8.629 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.324e-05/0.01103, allocations: 23.84 kB / 249.7 MB, free: 8.605 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.01104, allocations: 11.94 kB / 249.8 MB, free: 8.594 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 7.905e-05/0.01112, allocations: 129.8 kB / 249.9 MB, free: 8.457 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.01115, allocations: 19.92 kB / 249.9 MB, free: 8.438 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.983e-05/0.01117, allocations: 21.81 kB / 249.9 MB, free: 8.422 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.01117, allocations: 7.984 kB / 249.9 MB, free: 8.414 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.01118, allocations: 0 / 249.9 MB, free: 8.414 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01118, allocations: 0 / 249.9 MB, free: 8.414 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.01157, allocations: 363.3 kB / 250.3 MB, free: 8.031 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.01158, allocations: 3.938 kB / 250.3 MB, free: 8.027 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.01169, allocations: 39.97 kB / 250.3 MB, free: 7.988 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.01171, allocations: 27.78 kB / 250.4 MB, free: 7.961 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001467/0.01186, allocations: 68.92 kB / 250.4 MB, free: 7.891 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.01187, allocations: 7.938 kB / 250.4 MB, free: 7.883 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007653/0.01264, allocations: 1.434 MB / 251.9 MB, free: 6.367 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.01264, allocations: 4 kB / 251.9 MB, free: 6.363 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.01289, allocations: 282.8 kB / 252.1 MB, free: 6.07 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.0129, allocations: 0 / 252.1 MB, free: 6.07 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.877e-05/0.01298, allocations: 23.92 kB / 252.2 MB, free: 6.047 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.986e-05/0.013, allocations: 7.984 kB / 252.2 MB, free: 6.039 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.01301, allocations: 4 kB / 252.2 MB, free: 6.035 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.113e-05/0.01306, allocations: 61.95 kB / 252.2 MB, free: 5.973 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01306, allocations: 0 / 252.2 MB, free: 5.973 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002363/0.01329, allocations: 75.89 kB / 252.3 MB, free: 5.898 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 0.0001042/0.0134, allocations: 84.45 kB / 252.4 MB, free: 5.805 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000306/0.0137, allocations: 271 kB / 252.7 MB, free: 5.527 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.01371, allocations: 8.125 kB / 252.7 MB, free: 5.52 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.01382, allocations: 175.3 kB / 252.8 MB, free: 5.332 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.01401, allocations: 56.06 kB / 252.9 MB, free: 5.277 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.01626, allocations: 0.6389 MB / 253.5 MB, free: 4.605 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.21e-05/0.01631, allocations: 88.31 kB / 253.6 MB, free: 4.5 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.001e-05/0.01637, allocations: 17.95 kB / 253.6 MB, free: 4.48 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.382e-05/0.01646, allocations: 87.36 kB / 253.7 MB, free: 4.395 MB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01646, allocations: 0 / 253.7 MB, free: 4.395 MB / 250.7 MB Notification: Performance of Templates: time 0.004928/0.02139, allocations: 3.118 MB / 256.8 MB, free: 1.324 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6476085586473346]