Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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.0009656/0.0009656, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.000969/0.000969, allocations: 169 kB / 24.14 MB, free: 360 kB / 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.994/0.994, allocations: 158.6 MB / 186 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1419/0.1419, allocations: 32.38 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 299.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.266e-05, allocations: 2.312 kB / 299.1 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.1977/0.1977, allocations: 18.56 MB / 317.7 MB, free: 9.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01346/0.2112, allocations: 5.247 MB / 322.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005289/0.2165, allocations: 162 kB / 323.1 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01225/0.2287, allocations: 8.273 MB / 331.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009261/0.238, allocations: 2.219 MB / 333.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004528/0.2425, allocations: 1.405 MB / 335 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01541/0.2579, allocations: 12.82 MB / 347.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02296/0.2809, allocations: 17.31 MB / 365.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01379/0.2947, allocations: 10 MB / 375.1 MB, free: 1.871 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01009/0.3048, allocations: 7.47 MB / 382.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004193/0.309, allocations: 1.734 MB / 384.3 MB, free: 8.652 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005236/0.3142, allocations: 1.937 MB / 386.2 MB, free: 6.715 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002921/0.3171, allocations: 3.876 MB / 390.1 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008631/0.3258, allocations: 4.838 MB / 395 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01461/0.3404, allocations: 12.14 MB / 407.1 MB, free: 1.801 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3404, allocations: 0 / 407.1 MB, free: 1.801 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3404, allocations: 0 / 407.1 MB, free: 1.801 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005842/0.341, allocations: 0 / 407.1 MB, free: 1.801 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.03034/0.3713, allocations: 14.35 MB / 421.4 MB, free: 3.355 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.3714, allocations: 8.031 kB / 421.5 MB, free: 3.348 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04448/0.4158, allocations: 11.07 MB / 432.5 MB, free: 8.262 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009249/0.4251, allocations: 3.064 MB / 435.6 MB, free: 5.094 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005984/0.4257, allocations: 0.9071 MB / 436.5 MB, free: 4.184 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00205/0.4277, allocations: 1.195 MB / 437.7 MB, free: 2.988 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01438/0.4421, allocations: 9.158 MB / 446.9 MB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001743/0.4423, allocations: 11.91 kB / 446.9 MB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008433/0.4431, allocations: 0.496 MB / 447.4 MB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004673/0.4436, allocations: 0.6934 MB / 448.1 MB, free: 8.445 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007071/0.4507, allocations: 4.323 MB / 452.4 MB, free: 4.102 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2316/0.6823, allocations: 34.63 MB / 487 MB, free: 86.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005817/0.6881, allocations: 5.853 MB / 492.9 MB, free: 83.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.6895, allocations: 1.173 MB / 494 MB, free: 83.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003477/0.6898, allocations: 178 kB / 494.2 MB, free: 83.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.081e-05/0.6899, allocations: 111.9 kB / 494.3 MB, free: 83.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=674): time 1.018e-05/0.6899, allocations: 3.375 kB / 494.3 MB, free: 83.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=674): time 0.005561/0.6955, allocations: 3.034 MB / 497.4 MB, free: 81.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.6955, allocations: 134 kB / 497.5 MB, free: 80.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/0.6978, allocations: 2.44 MB / 499.9 MB, free: 79.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002863/0.6981, allocations: 137.7 kB / 0.4883 GB, free: 79.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001533/0.6996, allocations: 4.424 MB / 0.4927 GB, free: 75.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001202/0.7008, allocations: 2.34 MB / 0.4949 GB, free: 73.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001618/0.7024, allocations: 1.359 MB / 0.4963 GB, free: 72.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.021e-05/0.7025, allocations: 308.5 kB / 0.4966 GB, free: 72.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/0.7039, allocations: 0.7189 MB / 0.4973 GB, free: 71.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002488/0.7064, allocations: 3.774 MB / 0.501 GB, free: 67.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004953/0.7113, allocations: 5.516 MB / 0.5063 GB, free: 60.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.464e-05/0.7114, allocations: 28 kB / 0.5064 GB, free: 60.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.006543/0.7179, allocations: 4.486 MB / 0.5107 GB, free: 57.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.472e-05/0.718, allocations: 52 kB / 0.5108 GB, free: 56.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001051/0.7181, allocations: 100 kB / 0.5109 GB, free: 56.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008273/0.7189, allocations: 373.2 kB / 0.5112 GB, free: 56.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005017/0.7239, allocations: 1.96 MB / 0.5132 GB, free: 54.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002945/0.7269, allocations: 7.281 MB / 0.5203 GB, free: 47.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003331/0.7302, allocations: 0.795 MB / 0.521 GB, free: 46.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004674/0.7307, allocations: 312 kB / 0.5213 GB, free: 45.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * 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 (1022): * Single equations (assignments): 1016 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.002721/0.7334, allocations: 0.675 MB / 0.522 GB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007708/0.7342, allocations: 0.4957 MB / 0.5225 GB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005945/0.7401, allocations: 4.791 MB / 0.5272 GB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.391e-05/0.7401, allocations: 70.62 kB / 0.5272 GB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.7401, allocations: 7.938 kB / 0.5272 GB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.173e-05/0.7402, allocations: 35.86 kB / 0.5273 GB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03908/0.7793, allocations: 20.13 MB / 0.5469 GB, free: 20.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.741e-05/0.7793, allocations: 88 kB / 0.547 GB, free: 20.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002853/0.7822, allocations: 1.417 MB / 0.5484 GB, free: 19.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006415/0.7828, allocations: 352.9 kB / 0.5487 GB, free: 18.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003225/0.7831, allocations: 232 kB / 0.549 GB, free: 18.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00254/0.7857, allocations: 7.259 MB / 0.5561 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-05/0.7857, allocations: 130.8 kB / 0.5562 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007104/0.7928, allocations: 8.985 MB / 0.565 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002148/0.795, allocations: 0.8874 MB / 0.5658 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004854/0.7955, allocations: 255.9 kB / 0.5661 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001925/0.7974, allocations: 284 kB / 0.5663 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008054/0.7982, allocations: 0.7547 MB / 0.5671 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003596/0.7986, allocations: 256 kB / 0.5673 GB, free: 13.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001423/0.8, allocations: 1.125 MB / 0.5684 GB, free: 12.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.8, allocations: 0 / 0.5684 GB, free: 12.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007738/0.8077, allocations: 3.002 MB / 0.5713 GB, free: 9.363 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * Number of states: 1 (currentSource.plug_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 (741): * Single equations (assignments): 735 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0007982/0.8085, allocations: 488.7 kB / 0.5718 GB, free: 8.988 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006602/0.8151, allocations: 4.476 MB / 0.5762 GB, free: 4.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001583/0.8153, allocations: 79.94 kB / 0.5763 GB, free: 4.898 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002699/0.818, allocations: 2.589 MB / 0.5788 GB, free: 2.406 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00437/0.8224, allocations: 1.312 MB / 0.5801 GB, free: 1.137 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03322/0.8556, allocations: 20.42 MB / 0.6 GB, free: 11.55 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005548/0.8611, allocations: 2.524 MB / 0.6025 GB, free: 8.988 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004301/0.8654, allocations: 0.9498 MB / 0.6034 GB, free: 8.035 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002834/0.8683, allocations: 1.225 MB / 0.6046 GB, free: 6.801 MB / 458.7 MB Notification: Performance of SimCode: time 3.146e-06/0.8683, allocations: 0 / 0.6046 GB, free: 6.801 MB / 458.7 MB Notification: Performance of Templates: time 0.2799/1.148, allocations: 83.59 MB / 0.6862 GB, free: 76.84 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/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: 5.543809772934765]