Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.001132/0.001132, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001643/0.002775, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001173/0.001173, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001525/0.002697, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9517/0.9517, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1456/1.097, allocations: 49.48 MB / 220.6 MB, free: 1.449 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 221.9 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.004e-05, allocations: 6.312 kB / 221.9 MB, free: 136 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.004726/0.004746, allocations: 5.053 MB / 226.9 MB, free: 11.04 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.006614, allocations: 1.531 MB / 228.5 MB, free: 9.508 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002612/0.006875, allocations: 31.75 kB / 228.5 MB, free: 9.477 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.007149, allocations: 233.6 kB / 228.7 MB, free: 9.246 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.007441, allocations: 213.7 kB / 228.9 MB, free: 9.035 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004451/0.007887, allocations: 399.3 kB / 229.3 MB, free: 8.645 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009743/0.008861, allocations: 1.134 MB / 230.4 MB, free: 7.508 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000347/0.009208, allocations: 324.8 kB / 230.8 MB, free: 7.164 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000492/0.0097, allocations: 0.632 MB / 231.4 MB, free: 6.531 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.00997, allocations: 294.9 kB / 231.7 MB, free: 6.242 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.803e-05/0.01005, allocations: 84 kB / 231.8 MB, free: 6.16 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.0102, allocations: 92 kB / 231.9 MB, free: 6.07 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.063e-05/0.01029, allocations: 159.3 kB / 232 MB, free: 5.914 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.01046, allocations: 267.2 kB / 232.3 MB, free: 5.652 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005372/0.011, allocations: 0.7272 MB / 233 MB, free: 4.922 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.373e-05/0.01101, allocations: 0 / 233 MB, free: 4.922 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01101, allocations: 4 kB / 233 MB, free: 4.918 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.01103, allocations: 0 / 233 MB, free: 4.918 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001132/0.01216, allocations: 1.457 MB / 234.5 MB, free: 3.43 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.745e-05/0.01219, allocations: 8.031 kB / 234.5 MB, free: 3.422 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.01231, allocations: 171.8 kB / 234.6 MB, free: 3.254 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005752/0.01289, allocations: 0.5354 MB / 235.2 MB, free: 2.688 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.929e-05/0.01293, allocations: 74 kB / 235.2 MB, free: 2.617 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.678e-05/0.01301, allocations: 103.9 kB / 235.3 MB, free: 2.516 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007725/0.01378, allocations: 1.004 MB / 236.3 MB, free: 1.352 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.0138, allocations: 11.94 kB / 236.4 MB, free: 1.34 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.81e-05/0.01384, allocations: 40 kB / 236.4 MB, free: 1.301 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.01386, allocations: 24 kB / 236.4 MB, free: 1.277 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000345/0.0142, allocations: 305.3 kB / 236.7 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002672/0.01687, allocations: 4.792 MB / 241.5 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.01712, allocations: 153 kB / 241.7 MB, free: 11.77 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.01723, allocations: 93.66 kB / 241.8 MB, free: 11.67 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.698e-05/0.0173, allocations: 8 kB / 241.8 MB, free: 11.66 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.01732, allocations: 38.84 kB / 241.8 MB, free: 11.61 MB / 250.7 MB Notification: Performance of pre-optimization done (n=28): time 1.883e-06/0.01732, allocations: 0 / 241.8 MB, free: 11.61 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.00183/0.01915, allocations: 1.097 MB / 242.9 MB, free: 10.46 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.01919, allocations: 85.05 kB / 243 MB, free: 10.36 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.01953, allocations: 0.6088 MB / 243.6 MB, free: 9.734 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.01955, allocations: 29.7 kB / 243.6 MB, free: 9.699 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.01976, allocations: 0.5314 MB / 244.1 MB, free: 9.16 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003325/0.0201, allocations: 150.7 kB / 244.3 MB, free: 9.012 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.0202, allocations: 138.5 kB / 244.4 MB, free: 8.871 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.02031, allocations: 398.6 kB / 244.8 MB, free: 8.473 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.156e-05/0.02037, allocations: 57.95 kB / 244.9 MB, free: 8.414 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.02058, allocations: 413.3 kB / 245.3 MB, free: 7.848 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.02092, allocations: 0.5538 MB / 245.8 MB, free: 7.133 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.02093, allocations: 4 kB / 245.8 MB, free: 7.129 MB / 250.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0004109/0.02134, allocations: 473 kB / 246.3 MB, free: 6.66 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.02136, allocations: 15.92 kB / 246.3 MB, free: 6.645 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.02138, allocations: 16 kB / 246.3 MB, free: 6.629 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.02139, allocations: 16.72 kB / 246.3 MB, free: 6.613 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004115/0.02181, allocations: 231.7 kB / 246.6 MB, free: 6.387 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.02182, allocations: 19.94 kB / 246.6 MB, free: 6.367 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.02199, allocations: 31.98 kB / 246.6 MB, free: 6.336 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.02202, allocations: 32 kB / 246.7 MB, free: 6.305 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000136/0.02215, allocations: 169.4 kB / 246.8 MB, free: 6.129 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.326e-05/0.02221, allocations: 55.94 kB / 246.9 MB, free: 6.074 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.007e-05/0.02228, allocations: 70.56 kB / 246.9 MB, free: 5.996 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.02229, allocations: 15.97 kB / 247 MB, free: 5.98 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.02229, allocations: 0 / 247 MB, free: 5.98 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.0223, allocations: 0 / 247 MB, free: 5.98 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000816/0.02311, allocations: 0.7984 MB / 247.8 MB, free: 5.141 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.02312, allocations: 4 kB / 247.8 MB, free: 5.137 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.02338, allocations: 123.4 kB / 247.9 MB, free: 5.02 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.02343, allocations: 59.53 kB / 247.9 MB, free: 4.961 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.02344, allocations: 4 kB / 247.9 MB, free: 4.957 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.02345, allocations: 11.98 kB / 248 MB, free: 4.945 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.02346, allocations: 7.938 kB / 248 MB, free: 4.938 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.02346, allocations: 0 / 248 MB, free: 4.938 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.02378, allocations: 466.6 kB / 248.4 MB, free: 4.449 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.02382, allocations: 8 kB / 248.4 MB, free: 4.441 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.02395, allocations: 23.92 kB / 248.5 MB, free: 4.418 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.024, allocations: 27.95 kB / 248.5 MB, free: 4.391 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.02401, allocations: 12 kB / 248.5 MB, free: 4.379 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001755/0.02419, allocations: 276.5 kB / 248.8 MB, free: 4.109 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02419, allocations: 0 / 248.8 MB, free: 4.109 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003628/0.02455, allocations: 140 kB / 248.9 MB, free: 3.973 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.v) * 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 (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001105/0.02466, allocations: 92.3 kB / 249 MB, free: 3.875 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002807/0.02494, allocations: 289.1 kB / 249.3 MB, free: 3.598 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.226e-05/0.02496, allocations: 16.44 kB / 249.3 MB, free: 3.578 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.316e-05/0.02505, allocations: 104.6 kB / 249.4 MB, free: 3.473 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.02537, allocations: 122.9 kB / 249.5 MB, free: 3.355 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003758/0.02913, allocations: 1.689 MB / 251.2 MB, free: 1.609 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.02926, allocations: 178.4 kB / 251.4 MB, free: 1.414 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001754/0.02943, allocations: 98 kB / 251.5 MB, free: 1.316 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.02962, allocations: 167.3 kB / 251.6 MB, free: 1.152 MB / 250.7 MB Notification: Performance of SimCode: time 1.062e-06/0.02962, allocations: 0 / 251.6 MB, free: 1.152 MB / 250.7 MB Notification: Performance of Templates: time 0.009894/0.03952, allocations: 5.343 MB / 257 MB, free: 11.83 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.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.698557971045375]