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.001375/0.001375, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001581/0.001581, allocations: 165.6 kB / 25.69 MB, free: 8.457 MB / 18.57 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.9584/0.9584, allocations: 158.6 MB / 187.6 MB, free: 2.793 MB / 170.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.883e-06/1.883e-06, allocations: 0 / 251.6 MB, free: 7.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.446e-05, allocations: 6.312 kB / 251.6 MB, free: 7.195 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.005518/0.005542, allocations: 5.041 MB / 256.6 MB, free: 2.121 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003207/0.008749, allocations: 1.516 MB / 258.1 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006017/0.009351, allocations: 39.69 kB / 258.2 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004793/0.00983, allocations: 213.8 kB / 258.4 MB, free: 360 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005827/0.01041, allocations: 217.7 kB / 258.6 MB, free: 140 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007934/0.01121, allocations: 403.2 kB / 259 MB, free: 15.74 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00145/0.01266, allocations: 1.141 MB / 260.1 MB, free: 14.6 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005267/0.01318, allocations: 332.8 kB / 260.5 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000806/0.01399, allocations: 0.5924 MB / 261.1 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003892/0.01438, allocations: 294.9 kB / 261.3 MB, free: 13.36 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.01449, allocations: 84 kB / 261.4 MB, free: 13.28 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.01469, allocations: 107.9 kB / 261.5 MB, free: 13.17 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.01483, allocations: 215 kB / 261.7 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002785/0.01511, allocations: 323 kB / 262.1 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008347/0.01595, allocations: 0.7739 MB / 262.8 MB, free: 11.87 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.01595, allocations: 0 / 262.8 MB, free: 11.87 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01595, allocations: 0 / 262.8 MB, free: 11.87 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.01597, allocations: 0 / 262.8 MB, free: 11.87 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.00138/0.01735, allocations: 1.243 MB / 264.1 MB, free: 10.6 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.01739, allocations: 11.98 kB / 264.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.01757, allocations: 159.9 kB / 264.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008004/0.01837, allocations: 0.5509 MB / 264.8 MB, free: 9.852 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.419e-05/0.01842, allocations: 74 kB / 264.9 MB, free: 9.777 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-05/0.01852, allocations: 99.95 kB / 265 MB, free: 9.68 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.01956, allocations: 0.9096 MB / 265.9 MB, free: 8.633 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.01958, allocations: 7.938 kB / 265.9 MB, free: 8.625 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.405e-05/0.01964, allocations: 48 kB / 265.9 MB, free: 8.578 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.01966, allocations: 28 kB / 266 MB, free: 8.551 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005337/0.0202, allocations: 309.2 kB / 266.3 MB, free: 8.246 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003668/0.02386, allocations: 4.78 MB / 271 MB, free: 3.211 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.02422, allocations: 151.9 kB / 271.2 MB, free: 3.047 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.02435, allocations: 93.95 kB / 271.3 MB, free: 2.949 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.619e-05/0.02442, allocations: 16.23 kB / 271.3 MB, free: 2.934 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.02445, allocations: 42.5 kB / 271.3 MB, free: 2.883 MB / 250.7 MB Notification: Performance of pre-optimization done (n=28): time 1.924e-06/0.02445, allocations: 0 / 271.3 MB, free: 2.883 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.002418/0.02687, allocations: 1.088 MB / 272.4 MB, free: 1.734 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.02691, allocations: 81.11 kB / 272.5 MB, free: 1.637 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004542/0.02736, allocations: 0.6049 MB / 273.1 MB, free: 1.02 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.02738, allocations: 33.7 kB / 273.1 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/0.02766, allocations: 0.5275 MB / 273.7 MB, free: 456 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.587e-05/0.02776, allocations: 158.7 kB / 273.8 MB, free: 296 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.02789, allocations: 134.5 kB / 274 MB, free: 156 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0004342/0.02832, allocations: 394.6 kB / 274.3 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.096e-05/0.02842, allocations: 65.95 kB / 274.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.02869, allocations: 405.3 kB / 274.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004995/0.02919, allocations: 0.5662 MB / 275.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.0292, allocations: 4 kB / 275.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0005527/0.02975, allocations: 473.2 kB / 275.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.02977, allocations: 12 kB / 275.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.02978, allocations: 12 kB / 275.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.02981, allocations: 16 kB / 275.9 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/0.03032, allocations: 216.2 kB / 276.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/0.03034, allocations: 27.86 kB / 276.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.03058, allocations: 28 kB / 276.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.03062, allocations: 35.98 kB / 276.2 MB, free: 13.6 MB / 266.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.0001576/0.03078, allocations: 161.5 kB / 276.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.558e-05/0.03086, allocations: 55.95 kB / 276.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.427e-05/0.03095, allocations: 74.55 kB / 276.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.03095, allocations: 4 kB / 276.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.03095, allocations: 4 kB / 276.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.03096, allocations: 3.984 kB / 276.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.03201, allocations: 0.7861 MB / 277.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.03201, allocations: 4 kB / 277.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.03234, allocations: 116 kB / 277.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.03235, allocations: 8 kB / 277.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.03237, allocations: 15.98 kB / 277.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.03238, allocations: 7.938 kB / 277.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.03238, allocations: 0 / 277.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004063/0.03279, allocations: 458.5 kB / 277.9 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.03285, allocations: 63.47 kB / 277.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.0329, allocations: 16 kB / 277.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.03308, allocations: 23.92 kB / 278 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.03315, allocations: 31.89 kB / 278 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.03316, allocations: 8 kB / 278 MB, free: 11.69 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002293/0.03339, allocations: 272.5 kB / 278.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03339, allocations: 0 / 278.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005377/0.03393, allocations: 136 kB / 278.4 MB, free: 11.3 MB / 266.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.0001338/0.03406, allocations: 100.3 kB / 278.5 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003533/0.03442, allocations: 285.2 kB / 278.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.977e-05/0.03444, allocations: 17.5 kB / 278.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.03455, allocations: 96.75 kB / 278.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.03497, allocations: 82.91 kB / 279 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.03699, allocations: 1.495 MB / 280.5 MB, free: 9.168 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.03713, allocations: 166.2 kB / 280.6 MB, free: 8.984 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002212/0.03735, allocations: 94.02 kB / 280.7 MB, free: 8.891 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000523/0.03787, allocations: 163.3 kB / 280.9 MB, free: 8.73 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.03787, allocations: 0 / 280.9 MB, free: 8.73 MB / 266.7 MB Notification: Performance of Templates: time 0.01092/0.04879, allocations: 5.183 MB / 286.1 MB, free: 3.578 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 -s gbode -gbm=radauIIA3 -emit_protected -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.825656814035028]