Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.ShowImpedance.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.001852/0.001852, allocations: 110.8 kB / 21.2 MB, free: 484 kB / 14.72 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.002323/0.002323, allocations: 210.8 kB / 24.49 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 230.6 MB / 258.3 MB, free: 7.789 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+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.Batteries.Examples.ShowImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|impedance.z.re|impedance.z.im",fileNamePrefix="Modelica_4.1.0_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_Modelica.Electrical.Batteries.Examples.ShowImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 51.91 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2703, allocations: 53.36 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.ShowImpedance): time 0.00337/0.2737, allocations: 1.872 MB / 434.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.2755, allocations: 1.132 MB / 435.3 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.817e-05/0.2756, allocations: 7.938 kB / 435.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.2767, allocations: 482.6 kB / 435.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.277, allocations: 203.4 kB / 436 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.2775, allocations: 159.4 kB / 436.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003373/0.2778, allocations: 226.3 kB / 436.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.305e-05/0.2779, allocations: 13.8 kB / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002484/0.2781, allocations: 131.5 kB / 436.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003004/0.2784, allocations: 227.4 kB / 436.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.2785, allocations: 12 kB / 436.8 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.2786, allocations: 67.89 kB / 436.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.2788, allocations: 263.3 kB / 437.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.2791, allocations: 198.4 kB / 437.3 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009011/0.28, allocations: 0.7853 MB / 438.1 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.28, allocations: 0 / 438.1 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.28, allocations: 0 / 438.1 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.28, allocations: 3.938 kB / 438.1 MB, free: 0.9727 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.002875/0.2828, allocations: 1.133 MB / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.2829, allocations: 11.97 kB / 439.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.2831, allocations: 96.33 kB / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.2842, allocations: 0.7032 MB / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.2843, allocations: 384 / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.2843, allocations: 384 / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.2846, allocations: 125.9 kB / 440.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.2846, allocations: 0 / 440.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.2846, allocations: 0 / 440.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2846, allocations: 0 / 440.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003899/0.285, allocations: 147.9 kB / 440.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.2861, allocations: 0.6925 MB / 441 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.2863, allocations: 86.47 kB / 441 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.2865, allocations: 76.89 kB / 441.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.2865, allocations: 0 / 441.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.2866, allocations: 30.56 kB / 441.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.2866, allocations: 0 / 441.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0008799/0.2874, allocations: 336.9 kB / 441.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.2875, allocations: 55.39 kB / 441.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/0.2892, allocations: 1.397 MB / 442.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.2893, allocations: 29.7 kB / 443 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/0.2896, allocations: 388.4 kB / 443.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.2897, allocations: 11.89 kB / 443.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.379e-05/0.2897, allocations: 21.7 kB / 443.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2899, allocations: 309.9 kB / 443.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.29, allocations: 71.94 kB / 443.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.2902, allocations: 90.52 kB / 443.8 MB, free: 11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.2906, allocations: 150.4 kB / 444 MB, free: 10.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2906, allocations: 4 kB / 444 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006371/0.2912, allocations: 272.9 kB / 444.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.2913, allocations: 8 kB / 444.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2913, allocations: 0 / 444.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.2913, allocations: 3.984 kB / 444.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.2915, allocations: 19.98 kB / 444.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.649e-06/0.2915, allocations: 0 / 444.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.2917, allocations: 8 kB / 444.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.2917, allocations: 3.984 kB / 444.3 MB, free: 10.52 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.0003492/0.2921, allocations: 337.7 kB / 444.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.2923, allocations: 99.39 kB / 444.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006476/0.2929, allocations: 277.6 kB / 445 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2929, allocations: 0 / 445 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.2929, allocations: 7.938 kB / 445 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004048/0.2933, allocations: 155.3 kB / 445.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-05/0.2934, allocations: 4 kB / 445.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.2936, allocations: 7.984 kB / 445.2 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.2937, allocations: 0 / 445.2 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004433/0.2941, allocations: 224.8 kB / 445.4 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005729/0.2947, allocations: 394.7 kB / 445.8 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001736/0.2949, allocations: 55.95 kB / 445.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00131/0.2962, allocations: 1.013 MB / 446.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of Backend: time 5.71e-07/0.2962, allocations: 0 / 446.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007241/0.2969, allocations: 180.2 kB / 447 MB, free: 7.738 MB / 350.1 MB Notification: Performance of SimCode: time 0.002467/0.2994, allocations: 1.92 MB / 448.9 MB, free: 5.766 MB / 350.1 MB Notification: Performance of Templates: time 0.01667/0.316, allocations: 9.033 MB / 458 MB, free: 12.8 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.ShowImpedance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.ShowImpedance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.ShowImpedance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.ShowImpedance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.ShowImpedance.sim & ./Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.ShowImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.ShowImpedance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.ShowImpedance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Batteries/Examples/ShowImpedance/ShowImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.537946232005197]