Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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.0009972/0.0009972, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001103/0.001103, allocations: 168.2 kB / 25.33 MB, free: 8.75 MB / 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.9104/0.9104, allocations: 158.6 MB / 187.2 MB, free: 2.938 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 251 MB, free: 7.523 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.907e-05, allocations: 2.312 kB / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.007654/0.007673, allocations: 9.403 MB / 260.4 MB, free: 14.07 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004391/0.01206, allocations: 2.726 MB / 263.2 MB, free: 11.33 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005678/0.01263, allocations: 67.69 kB / 263.2 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004001/0.01663, allocations: 4.025 MB / 267.3 MB, free: 7.219 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001926/0.01856, allocations: 0.9435 MB / 268.2 MB, free: 6.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.01975, allocations: 0.9151 MB / 269.1 MB, free: 5.352 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002694/0.02244, allocations: 4.08 MB / 273.2 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00532/0.02776, allocations: 6.219 MB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002316/0.03008, allocations: 3.374 MB / 282.8 MB, free: 7.566 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.03196, allocations: 2.452 MB / 285.2 MB, free: 5.109 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004746/0.03244, allocations: 0.6055 MB / 285.9 MB, free: 4.504 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.03347, allocations: 0.812 MB / 286.7 MB, free: 3.691 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007175/0.03419, allocations: 1.251 MB / 287.9 MB, free: 2.438 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001077/0.03527, allocations: 1.637 MB / 289.5 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003092/0.03836, allocations: 4.152 MB / 293.7 MB, free: 12.63 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.03836, allocations: 4 kB / 293.7 MB, free: 12.63 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.03836, allocations: 3.938 kB / 293.7 MB, free: 12.62 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.331e-05/0.0384, allocations: 3.938 kB / 293.7 MB, free: 12.62 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.006142/0.04454, allocations: 5.605 MB / 299.3 MB, free: 6.953 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.04459, allocations: 15.98 kB / 299.3 MB, free: 6.938 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008054/0.05265, allocations: 3.291 MB / 302.6 MB, free: 3.641 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002318/0.05496, allocations: 1.961 MB / 304.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.05513, allocations: 341.2 kB / 304.9 MB, free: 1.312 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004333/0.05556, allocations: 447.9 kB / 305.4 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004467/0.06003, allocations: 2.814 MB / 308.2 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.247e-05/0.06009, allocations: 4 kB / 308.2 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002795/0.06037, allocations: 184 kB / 308.4 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001403/0.06051, allocations: 217.3 kB / 308.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003424/0.06394, allocations: 1.964 MB / 310.5 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01585/0.07979, allocations: 16.87 MB / 327.4 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003435/0.08322, allocations: 2.563 MB / 330 MB, free: 7.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006653/0.08389, allocations: 0.504 MB / 330.5 MB, free: 7.258 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002531/0.08642, allocations: 1.884 MB / 332.4 MB, free: 5.348 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.08645, allocations: 33.62 kB / 332.4 MB, free: 5.305 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.743e-06/0.08645, allocations: 0 / 332.4 MB, free: 5.305 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005172/0.08696, allocations: 320.2 kB / 332.7 MB, free: 4.988 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.087, allocations: 63.28 kB / 332.8 MB, free: 4.914 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/0.08865, allocations: 1.923 MB / 334.7 MB, free: 2.965 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.08867, allocations: 33.7 kB / 334.7 MB, free: 2.926 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.08975, allocations: 2.408 MB / 337.1 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.371e-05/0.08984, allocations: 151.1 kB / 337.3 MB, free: 352 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005219/0.09036, allocations: 0.6122 MB / 337.9 MB, free: 15.72 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.09051, allocations: 0.5355 MB / 338.4 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004446/0.09095, allocations: 304.8 kB / 338.7 MB, free: 14.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.09229, allocations: 2.36 MB / 341.1 MB, free: 11.58 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/0.0942, allocations: 2.797 MB / 343.9 MB, free: 7.863 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.702e-05/0.09422, allocations: 16 kB / 343.9 MB, free: 7.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.002408/0.09663, allocations: 2.123 MB / 346 MB, free: 5.719 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.09666, allocations: 24 kB / 346 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.669e-05/0.0967, allocations: 48 kB / 346.1 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.881e-05/0.09676, allocations: 68 kB / 346.2 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009747/0.09773, allocations: 0.5888 MB / 346.7 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.319e-05/0.09778, allocations: 99.58 kB / 346.8 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.0988, allocations: 413.3 kB / 347.2 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.09893, allocations: 148 kB / 347.4 MB, free: 4.344 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 219 * 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 (317): * Single equations (assignments): 316 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0006475/0.09957, allocations: 343.2 kB / 347.7 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.09971, allocations: 147.1 kB / 347.9 MB, free: 3.852 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005238/0.1002, allocations: 441.2 kB / 348.3 MB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001559/0.1004, allocations: 133.6 kB / 348.4 MB, free: 3.246 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1004, allocations: 3.938 kB / 348.4 MB, free: 3.242 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1004, allocations: 0 / 348.4 MB, free: 3.242 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003504/0.1039, allocations: 3.049 MB / 351.5 MB, free: 64 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.178e-06/0.1039, allocations: 8 kB / 351.5 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1415/0.2454, allocations: 58.7 kB / 351.5 MB, free: 77.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-05/0.2454, allocations: 9.969 kB / 351.6 MB, free: 77.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.012e-05/0.2455, allocations: 8.891 kB / 351.6 MB, free: 77.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.757e-06/0.2455, allocations: 9.562 kB / 351.6 MB, free: 77.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.2455, allocations: 8.219 kB / 351.6 MB, free: 77.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.2468, allocations: 0.6468 MB / 352.2 MB, free: 77.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004593/0.2473, allocations: 177.7 kB / 352.4 MB, free: 77.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.2474, allocations: 14.95 kB / 352.4 MB, free: 77.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005596/0.2479, allocations: 45.02 kB / 352.5 MB, free: 77.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.2481, allocations: 32.56 kB / 352.5 MB, free: 77.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-05/0.2481, allocations: 15.98 kB / 352.5 MB, free: 77.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001626/0.2497, allocations: 0.8987 MB / 353.4 MB, free: 77.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2497, allocations: 0 / 353.4 MB, free: 77.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002471/0.2522, allocations: 0.9424 MB / 354.3 MB, free: 77.11 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 1 (voltageSource.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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002683/0.2525, allocations: 143.4 kB / 354.5 MB, free: 77.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.2538, allocations: 1.103 MB / 355.6 MB, free: 76.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.2538, allocations: 2.5 kB / 355.6 MB, free: 76.97 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.2539, allocations: 98.19 kB / 355.7 MB, free: 76.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009937/0.2549, allocations: 319.5 kB / 356 MB, free: 76.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007004/0.2619, allocations: 5.375 MB / 361.4 MB, free: 74.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007262/0.2626, allocations: 1.028 MB / 362.4 MB, free: 74.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001425/0.2641, allocations: 0.6778 MB / 363.1 MB, free: 74.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.2643, allocations: 105 kB / 363.2 MB, free: 74.42 MB / 330.7 MB Notification: Performance of SimCode: time 1.252e-06/0.2643, allocations: 0 / 363.2 MB, free: 74.42 MB / 330.7 MB Notification: Performance of Templates: time 0.02878/0.2931, allocations: 16.22 MB / 379.4 MB, free: 65.98 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingDelta/BalancingDelta.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.241563535761088]