Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.0009188/0.0009188, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001571/0.00249, 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.0009669/0.0009669, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001387/0.002354, 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.8522/0.8522, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1971/1.049, allocations: 52.49 MB / 238.5 MB, free: 7.625 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.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 239.8 MB, free: 6.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.988e-05, allocations: 2.312 kB / 239.8 MB, free: 6.324 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.003981/0.004001, allocations: 5.083 MB / 244.9 MB, free: 1.227 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002613/0.006614, allocations: 1.501 MB / 246.4 MB, free: 15.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003624/0.006977, allocations: 39.69 kB / 246.4 MB, free: 15.69 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.00729, allocations: 225.7 kB / 246.6 MB, free: 15.47 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003196/0.007609, allocations: 211.5 kB / 246.8 MB, free: 15.26 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.008097, allocations: 402.6 kB / 247.2 MB, free: 14.87 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000735/0.008832, allocations: 1.122 MB / 248.3 MB, free: 13.74 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003229/0.009155, allocations: 342.2 kB / 248.7 MB, free: 13.38 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004482/0.009603, allocations: 0.6242 MB / 249.3 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.009847, allocations: 294.9 kB / 249.6 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.316e-05/0.00992, allocations: 84.62 kB / 249.7 MB, free: 12.39 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002555/0.01018, allocations: 96 kB / 249.8 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.768e-05/0.01026, allocations: 163.8 kB / 249.9 MB, free: 12.13 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.01042, allocations: 263.3 kB / 250.2 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005035/0.01092, allocations: 0.7316 MB / 250.9 MB, free: 11.14 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.01093, allocations: 9.625 kB / 250.9 MB, free: 11.13 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.01093, allocations: 0 / 250.9 MB, free: 11.13 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.01095, allocations: 0 / 250.9 MB, free: 11.13 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.001073/0.01202, allocations: 1.463 MB / 252.4 MB, free: 9.641 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.661e-05/0.01205, allocations: 13.03 kB / 252.4 MB, free: 9.629 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.01217, allocations: 159.9 kB / 252.6 MB, free: 9.473 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005272/0.01269, allocations: 0.5298 MB / 253.1 MB, free: 8.918 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.652e-05/0.01273, allocations: 74.5 kB / 253.2 MB, free: 8.848 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.137e-05/0.0128, allocations: 100.8 kB / 253.3 MB, free: 8.75 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009776/0.01378, allocations: 0.9963 MB / 254.2 MB, free: 7.594 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.0138, allocations: 13.55 kB / 254.3 MB, free: 7.582 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.01384, allocations: 44 kB / 254.3 MB, free: 7.539 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.01386, allocations: 24 kB / 254.3 MB, free: 7.516 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003368/0.01419, allocations: 313.3 kB / 254.6 MB, free: 7.207 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002196/0.01639, allocations: 4.8 MB / 259.4 MB, free: 2.156 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.01669, allocations: 157 kB / 259.6 MB, free: 1.984 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.01681, allocations: 85.67 kB / 259.7 MB, free: 1.895 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.547e-05/0.01686, allocations: 15.94 kB / 259.7 MB, free: 1.879 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.01688, allocations: 38.55 kB / 259.7 MB, free: 1.832 MB / 250.7 MB Notification: Performance of pre-optimization done (n=28): time 1.663e-06/0.01689, allocations: 0 / 259.7 MB, free: 1.832 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001712/0.0186, allocations: 1.105 MB / 260.8 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.01863, allocations: 85.11 kB / 260.9 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.01893, allocations: 0.605 MB / 261.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.01895, allocations: 29.7 kB / 261.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.01914, allocations: 0.5314 MB / 262.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.911e-05/0.01921, allocations: 158.7 kB / 262.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.365e-05/0.0193, allocations: 134.5 kB / 262.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.0194, allocations: 398.6 kB / 262.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.69e-05/0.01946, allocations: 61.95 kB / 262.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.01965, allocations: 413.2 kB / 263.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/0.02001, allocations: 0.5913 MB / 263.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.02001, allocations: 4 kB / 263.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0003763/0.02039, allocations: 481.5 kB / 264.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.0204, allocations: 10.34 kB / 264.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.02041, allocations: 12 kB / 264.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.02043, allocations: 16 kB / 264.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/0.0208, allocations: 223.6 kB / 264.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.02082, allocations: 27.92 kB / 264.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.02097, allocations: 32.12 kB / 264.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.021, allocations: 32 kB / 264.6 MB, free: 12.48 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.0001241/0.02112, allocations: 173.4 kB / 264.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/0.02118, allocations: 51.94 kB / 264.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.411e-05/0.02124, allocations: 82.55 kB / 264.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.02124, allocations: 4 kB / 264.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.02125, allocations: 0 / 264.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.02125, allocations: 0 / 264.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007594/0.02201, allocations: 0.7784 MB / 265.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.02201, allocations: 0 / 265.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.02228, allocations: 123.3 kB / 265.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-05/0.02234, allocations: 71.45 kB / 265.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.02234, allocations: 4 kB / 265.9 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.02236, allocations: 16.09 kB / 265.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.02236, allocations: 7.938 kB / 265.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.02237, allocations: 0 / 265.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.02275, allocations: 466.6 kB / 266.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.02279, allocations: 16 kB / 266.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.02291, allocations: 19.92 kB / 266.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.02298, allocations: 39.84 kB / 266.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.02299, allocations: 11.98 kB / 266.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001982/0.02319, allocations: 276.5 kB / 266.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02319, allocations: 0 / 266.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000387/0.02358, allocations: 136 kB / 266.9 MB, free: 10.15 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.0001074/0.02368, allocations: 100.3 kB / 267 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002713/0.02395, allocations: 292 kB / 267.3 MB, free: 9.766 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.916e-05/0.02397, allocations: 16.48 kB / 267.3 MB, free: 9.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.02408, allocations: 119.9 kB / 267.4 MB, free: 9.633 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004606/0.02454, allocations: 0.5061 MB / 267.9 MB, free: 9.047 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003232/0.02777, allocations: 1.693 MB / 269.6 MB, free: 7.297 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.02789, allocations: 186.3 kB / 269.8 MB, free: 7.094 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001597/0.02805, allocations: 94.05 kB / 269.9 MB, free: 7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.02824, allocations: 167.3 kB / 270 MB, free: 6.836 MB / 266.7 MB Notification: Performance of SimCode: time 8.61e-07/0.02824, allocations: 0 / 270 MB, free: 6.836 MB / 266.7 MB Notification: Performance of Templates: time 0.008899/0.03714, allocations: 4.986 MB / 275 MB, free: 1.945 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.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.5295053645968437]