Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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.0008258/0.0008258, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001234/0.002059, allocations: 449.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.001546/0.001546, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001579/0.003125, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.049/1.049, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1066/1.155, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2949/0.2949, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02407/0.319, allocations: 12.54 MB / 289.3 MB, free: 8.668 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.393e-05, allocations: 3.297 kB / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.005907/0.005931, allocations: 6.713 MB / 297.3 MB, free: 1.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002802/0.008734, allocations: 2.279 MB / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002566/0.00899, allocations: 27.94 kB / 299.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001586/0.01058, allocations: 1.609 MB / 301.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009899/0.01157, allocations: 0.6716 MB / 301.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007866/0.01235, allocations: 0.6981 MB / 302.6 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008101/0.01316, allocations: 1.198 MB / 303.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007429/0.01391, allocations: 0.7415 MB / 304.5 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006053/0.01451, allocations: 0.7162 MB / 305.3 MB, free: 9.578 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004077/0.01492, allocations: 482.6 kB / 305.7 MB, free: 9.105 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.01502, allocations: 96 kB / 305.8 MB, free: 9.012 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000429/0.01545, allocations: 291.6 kB / 306.1 MB, free: 8.727 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.01556, allocations: 179.3 kB / 306.3 MB, free: 8.551 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002308/0.01579, allocations: 311.4 kB / 306.6 MB, free: 8.246 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007599/0.01655, allocations: 0.9377 MB / 307.5 MB, free: 7.305 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.317e-05/0.01657, allocations: 0 / 307.5 MB, free: 7.305 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01657, allocations: 0 / 307.5 MB, free: 7.305 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.099e-05/0.01659, allocations: 0 / 307.5 MB, free: 7.305 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.00226/0.01885, allocations: 1.987 MB / 309.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.717e-05/0.01888, allocations: 12.03 kB / 309.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004484/0.02336, allocations: 1.741 MB / 311.3 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004648/0.02382, allocations: 335.7 kB / 311.6 MB, free: 3.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.932e-05/0.02387, allocations: 94.77 kB / 311.7 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.02401, allocations: 128.1 kB / 311.8 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008155/0.02482, allocations: 0.9303 MB / 312.7 MB, free: 1.938 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.02485, allocations: 3.953 kB / 312.7 MB, free: 1.934 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.749e-05/0.02492, allocations: 52 kB / 312.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.02494, allocations: 28 kB / 312.8 MB, free: 1.855 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006141/0.02555, allocations: 0.5606 MB / 313.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003753/0.0293, allocations: 2.72 MB / 316.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007388/0.03004, allocations: 0.5818 MB / 316.7 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.0302, allocations: 145.8 kB / 316.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.231e-05/0.03028, allocations: 36.97 kB / 316.9 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.03032, allocations: 51.55 kB / 316.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=89): time 5.13e-06/0.03032, allocations: 0 / 316.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=89): time 0.0007377/0.03106, allocations: 492 kB / 317.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.03109, allocations: 60.41 kB / 317.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.03134, allocations: 406.9 kB / 317.8 MB, free: 12.69 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.03138, allocations: 41.7 kB / 317.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.03156, allocations: 476.4 kB / 318.4 MB, free: 12.17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.03171, allocations: 317.2 kB / 318.7 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.03188, allocations: 190.8 kB / 318.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.922e-05/0.03198, allocations: 370.7 kB / 319.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.03211, allocations: 110.6 kB / 319.3 MB, free: 11.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.03237, allocations: 359.6 kB / 319.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004453/0.03281, allocations: 0.5401 MB / 320.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.03282, allocations: 0 / 320.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0006255/0.03344, allocations: 0.5753 MB / 320.8 MB, free: 9.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.03346, allocations: 8 kB / 320.8 MB, free: 9.512 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.03347, allocations: 4 kB / 320.8 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002222/0.0337, allocations: 69.69 kB / 320.9 MB, free: 9.434 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/0.03426, allocations: 295.6 kB / 321.2 MB, free: 9.145 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.03552, allocations: 2.365 MB / 323.5 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003752/0.03589, allocations: 111.2 kB / 323.6 MB, free: 6.496 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.03593, allocations: 31.94 kB / 323.7 MB, free: 6.465 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (133): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002057/0.03613, allocations: 173.5 kB / 323.8 MB, free: 6.285 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.934e-05/0.03621, allocations: 67.94 kB / 323.9 MB, free: 6.219 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007005/0.03691, allocations: 0.6838 MB / 324.6 MB, free: 5.504 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.03692, allocations: 12 kB / 324.6 MB, free: 5.492 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.03692, allocations: 4 kB / 324.6 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.03693, allocations: 3.984 kB / 324.6 MB, free: 5.484 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.03831, allocations: 1.222 MB / 325.8 MB, free: 4.156 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.03831, allocations: 4 kB / 325.8 MB, free: 4.152 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004138/0.03873, allocations: 215.7 kB / 326 MB, free: 3.941 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/0.0388, allocations: 79.34 kB / 326.1 MB, free: 3.863 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001559/0.03896, allocations: 69.94 kB / 326.2 MB, free: 3.789 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.03899, allocations: 27.98 kB / 326.2 MB, free: 3.762 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/0.04005, allocations: 2.345 MB / 328.6 MB, free: 1.238 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-06/0.04005, allocations: 15.88 kB / 328.6 MB, free: 1.223 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007607/0.04081, allocations: 0.7924 MB / 329.4 MB, free: 344 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.944e-05/0.04088, allocations: 31.92 kB / 329.4 MB, free: 312 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.04114, allocations: 43.98 kB / 329.4 MB, free: 268 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.46e-05/0.04122, allocations: 84.38 kB / 329.5 MB, free: 184 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/0.04125, allocations: 31.98 kB / 329.5 MB, free: 152 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000141/0.04139, allocations: 168.7 kB / 329.7 MB, free: 15.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0414, allocations: 0 / 329.7 MB, free: 15.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006699/0.04206, allocations: 323.2 kB / 330 MB, free: 15.67 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (92): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002162/0.04228, allocations: 161 kB / 330.2 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000709/0.04299, allocations: 0.6912 MB / 330.9 MB, free: 14.78 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.168e-05/0.04302, allocations: 23.38 kB / 330.9 MB, free: 14.76 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003283/0.04335, allocations: 473 kB / 331.4 MB, free: 14.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.04375, allocations: 170.4 kB / 331.5 MB, free: 14.1 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007891/0.05164, allocations: 1.756 MB / 333.3 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.0518, allocations: 185.7 kB / 333.5 MB, free: 12.03 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004324/0.05223, allocations: 121.6 kB / 333.6 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003277/0.05256, allocations: 191.3 kB / 333.8 MB, free: 11.72 MB / 330.7 MB Notification: Performance of SimCode: time 2.305e-06/0.05256, allocations: 0 / 333.8 MB, free: 11.72 MB / 330.7 MB Notification: Performance of Templates: time 0.01356/0.06612, allocations: 9.875 MB / 343.6 MB, free: 1.969 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.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: 3.479198709130287]