Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Batteries.Examples.ShowImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001245/0.001245, allocations: 116.1 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 214.8 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.405/1.405, allocations: 230.4 MB / 258.1 MB, free: 8.133 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Batteries.Examples.ShowImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|impedance.z.re|impedance.z.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Batteries.Examples.ShowImpedance") translateModel(Modelica.Electrical.Batteries.Examples.ShowImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|impedance.z.re|impedance.z.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Batteries.Examples.ShowImpedance") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 75.81 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2288, allocations: 53.31 MB / 432 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.ShowImpedance): time 0.003385/0.2322, allocations: 1.928 MB / 434 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.2342, allocations: 1.269 MB / 435.2 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.946e-05/0.2343, allocations: 0 / 435.2 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.2353, allocations: 0.5001 MB / 435.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.2356, allocations: 195.4 kB / 435.9 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005278/0.2361, allocations: 183.2 kB / 436.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003943/0.2365, allocations: 215.2 kB / 436.3 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.497e-05/0.2366, allocations: 13.67 kB / 436.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.2369, allocations: 127.5 kB / 436.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.2372, allocations: 231.4 kB / 436.7 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.82e-05/0.2373, allocations: 8 kB / 436.7 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.2374, allocations: 59.95 kB / 436.7 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.2377, allocations: 263.3 kB / 437 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002834/0.238, allocations: 277.9 kB / 437.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009132/0.2389, allocations: 0.7816 MB / 438.1 MB, free: 1.352 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2389, allocations: 0 / 438.1 MB, free: 1.352 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2389, allocations: 0 / 438.1 MB, free: 1.352 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.2389, allocations: 0 / 438.1 MB, free: 1.352 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.002759/0.2416, allocations: 1.213 MB / 439.3 MB, free: 88 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.2417, allocations: 8.031 kB / 439.3 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002271/0.2419, allocations: 96.36 kB / 439.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.2431, allocations: 0.7557 MB / 440.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.2431, allocations: 384 / 440.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.2431, allocations: 8.375 kB / 440.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.2434, allocations: 113.9 kB / 440.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.2434, allocations: 4 kB / 440.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.2434, allocations: 0 / 440.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2434, allocations: 7.938 kB / 440.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003718/0.2438, allocations: 147.8 kB / 440.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.245, allocations: 0.8143 MB / 441.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.2452, allocations: 78.62 kB / 441.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.2454, allocations: 76.8 kB / 441.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.2454, allocations: 0 / 441.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.2454, allocations: 34.56 kB / 441.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.2454, allocations: 3.938 kB / 441.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0008558/0.2463, allocations: 332.9 kB / 441.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.2463, allocations: 51.41 kB / 441.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/0.2481, allocations: 1.397 MB / 443.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.2481, allocations: 29.69 kB / 443.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003664/0.2485, allocations: 396.3 kB / 443.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.2485, allocations: 7.938 kB / 443.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-05/0.2486, allocations: 25.7 kB / 443.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2487, allocations: 306 kB / 443.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.2489, allocations: 67.94 kB / 444 MB, free: 11.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.2491, allocations: 86.52 kB / 444.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/0.2495, allocations: 162.4 kB / 444.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2495, allocations: 3.938 kB / 444.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006002/0.2501, allocations: 269 kB / 444.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2501, allocations: 4 kB / 444.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2501, allocations: 0 / 444.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.2501, allocations: 7.984 kB / 444.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.2503, allocations: 15.98 kB / 444.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.2503, allocations: 0 / 444.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.2505, allocations: 15.89 kB / 444.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.2506, allocations: 3.984 kB / 444.5 MB, free: 10.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.0003652/0.2509, allocations: 341.6 kB / 444.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.2511, allocations: 91.47 kB / 445 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000631/0.2517, allocations: 269.6 kB / 445.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2517, allocations: 7.984 kB / 445.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2518, allocations: 0 / 445.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004277/0.2522, allocations: 232.5 kB / 445.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/0.2523, allocations: 0 / 445.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.2525, allocations: 7.984 kB / 445.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.2525, allocations: 7.922 kB / 445.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000436/0.2529, allocations: 220.8 kB / 445.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005939/0.2535, allocations: 394.7 kB / 446.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001618/0.2537, allocations: 47.97 kB / 446.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001346/0.255, allocations: 1.017 MB / 447.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of Backend: time 7.41e-07/0.255, allocations: 0 / 447.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007295/0.2558, allocations: 178.1 kB / 447.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of SimCode: time 0.002462/0.2582, allocations: 1.931 MB / 449.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of Templates: time 0.01545/0.2737, allocations: 7.858 MB / 457.1 MB, free: 13.94 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Batteries.Examples.ShowImpedance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Batteries.Examples.ShowImpedance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Batteries.Examples.ShowImpedance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Batteries.Examples.ShowImpedance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Batteries.Examples.ShowImpedance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Batteries.Examples.ShowImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Batteries.Examples.ShowImpedance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Batteries.Examples.ShowImpedance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Batteries/Examples/ShowImpedance/ShowImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Batteries.Examples.ShowImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.27312968717888]