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.00195/0.00195, allocations: 96.3 kB / 21.73 MB, free: 2.707 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.00219/0.00219, allocations: 164.7 kB / 25.02 MB, free: 8.945 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 1.423/1.423, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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 6.321e-06/6.321e-06, allocations: 3.984 kB / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.687e-05/4.319e-05, allocations: 2.312 kB / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.0162/0.01625, allocations: 8.471 MB / 258.8 MB, free: 15.32 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007323/0.02357, allocations: 2.683 MB / 261.5 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001769/0.02534, allocations: 67.69 kB / 261.6 MB, free: 12.56 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009743/0.03508, allocations: 3.702 MB / 265.3 MB, free: 8.84 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004037/0.03912, allocations: 0.9396 MB / 266.2 MB, free: 7.895 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.04185, allocations: 0.9073 MB / 267.1 MB, free: 6.984 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00606/0.04791, allocations: 4.08 MB / 271.2 MB, free: 2.887 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01234/0.06025, allocations: 6.227 MB / 277.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006346/0.0666, allocations: 3.335 MB / 280.8 MB, free: 9.227 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004693/0.07129, allocations: 2.21 MB / 283 MB, free: 7.012 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001676/0.07296, allocations: 0.6092 MB / 283.6 MB, free: 6.406 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002861/0.07583, allocations: 0.8083 MB / 284.4 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001928/0.07775, allocations: 1.223 MB / 285.6 MB, free: 4.371 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004038/0.08179, allocations: 1.622 MB / 287.2 MB, free: 2.746 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.09312, allocations: 8.235 MB / 295.5 MB, free: 10.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.09312, allocations: 0 / 295.5 MB, free: 10.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.09312, allocations: 0 / 295.5 MB, free: 10.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002316/0.09336, allocations: 0 / 295.5 MB, free: 10.48 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.01389/0.1072, allocations: 5.136 MB / 300.6 MB, free: 5.293 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.1073, allocations: 19.98 kB / 300.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01606/0.1234, allocations: 3.272 MB / 303.9 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005729/0.1291, allocations: 2.196 MB / 306.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004101/0.1295, allocations: 345.2 kB / 306.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001554/0.1311, allocations: 443.9 kB / 306.9 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01523/0.1463, allocations: 6.128 MB / 313 MB, free: 8.816 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001045/0.1464, allocations: 4 kB / 313 MB, free: 8.812 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005109/0.1469, allocations: 184 kB / 313.2 MB, free: 8.633 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002783/0.1472, allocations: 213.3 kB / 313.4 MB, free: 8.422 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01131/0.1585, allocations: 5.763 MB / 319.2 MB, free: 2.645 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03759/0.1961, allocations: 18.45 MB / 337.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007025/0.2031, allocations: 2.714 MB / 340.3 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001887/0.205, allocations: 0.899 MB / 341.2 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005997/0.211, allocations: 2.376 MB / 343.6 MB, free: 9.758 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.545e-05/0.211, allocations: 38.8 kB / 343.6 MB, free: 9.711 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 2.675e-06/0.211, allocations: 0 / 343.6 MB, free: 9.711 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.001402/0.2124, allocations: 0.66 MB / 344.3 MB, free: 9.047 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.2125, allocations: 55.34 kB / 344.3 MB, free: 8.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004007/0.2165, allocations: 2.091 MB / 346.4 MB, free: 6.879 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.248e-05/0.2165, allocations: 25.7 kB / 346.5 MB, free: 6.848 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002138/0.2187, allocations: 2.261 MB / 348.7 MB, free: 4.562 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/0.2189, allocations: 147.1 kB / 348.9 MB, free: 4.418 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009864/0.2199, allocations: 0.5435 MB / 349.4 MB, free: 3.867 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002395/0.2201, allocations: 349.9 kB / 349.8 MB, free: 3.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/0.2219, allocations: 0.8715 MB / 350.6 MB, free: 2.645 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1325/0.3544, allocations: 2.246 MB / 352.9 MB, free: 96.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003149/0.3575, allocations: 3.064 MB / 355.9 MB, free: 94.15 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.37e-05/0.3575, allocations: 15.69 kB / 356 MB, free: 94.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.003871/0.3614, allocations: 3.267 MB / 359.2 MB, free: 92.92 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/0.3615, allocations: 26.31 kB / 359.2 MB, free: 92.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.887e-05/0.3615, allocations: 48.91 kB / 359.3 MB, free: 92.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.829e-05/0.3616, allocations: 67.47 kB / 359.4 MB, free: 92.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.3632, allocations: 0.5887 MB / 359.9 MB, free: 92.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.649e-05/0.3632, allocations: 99.97 kB / 360 MB, free: 92.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.3649, allocations: 415.5 kB / 360.5 MB, free: 92.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.3651, allocations: 147 kB / 360.6 MB, free: 92.77 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.001592/0.3667, allocations: 1.56 MB / 362.2 MB, free: 92.03 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.3669, allocations: 151.5 kB / 362.3 MB, free: 92.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007566/0.3676, allocations: 0.6129 MB / 362.9 MB, free: 91.74 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003277/0.368, allocations: 323.4 kB / 363.2 MB, free: 91.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.368, allocations: 8.234 kB / 363.2 MB, free: 91.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.368, allocations: 3.609 kB / 363.2 MB, free: 91.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003317/0.3713, allocations: 2.735 MB / 366 MB, free: 90.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.3713, allocations: 7.625 kB / 366 MB, free: 90.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.3715, allocations: 53.16 kB / 366 MB, free: 90.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.3715, allocations: 8.797 kB / 366 MB, free: 90.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.3715, allocations: 15.22 kB / 366.1 MB, free: 90.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.3716, allocations: 7.656 kB / 366.1 MB, free: 90.42 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.3716, allocations: 8.312 kB / 366.1 MB, free: 90.42 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008972/0.3725, allocations: 0.8997 MB / 367 MB, free: 89.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003207/0.3728, allocations: 192.6 kB / 367.2 MB, free: 89.79 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.3729, allocations: 14.34 kB / 367.2 MB, free: 89.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005387/0.3735, allocations: 44.95 kB / 367.2 MB, free: 89.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.3735, allocations: 34.44 kB / 367.3 MB, free: 89.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.3735, allocations: 11.19 kB / 367.3 MB, free: 89.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001347/0.3749, allocations: 1.328 MB / 368.6 MB, free: 88.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3749, allocations: 7.891 kB / 368.6 MB, free: 88.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002349/0.3772, allocations: 0.9431 MB / 369.5 MB, free: 87.93 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.0002639/0.3775, allocations: 143.3 kB / 369.7 MB, free: 87.79 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002037/0.3795, allocations: 1.584 MB / 371.3 MB, free: 86.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3795, allocations: 0 / 371.3 MB, free: 86.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.3797, allocations: 175.6 kB / 371.4 MB, free: 86.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.3812, allocations: 316.8 kB / 371.8 MB, free: 86.05 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008125/0.3893, allocations: 6.06 MB / 377.8 MB, free: 80.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001764/0.3911, allocations: 2.344 MB / 380.2 MB, free: 77.99 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001432/0.3925, allocations: 0.7718 MB / 380.9 MB, free: 77.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.3927, allocations: 108.5 kB / 381 MB, free: 77.12 MB / 330.7 MB Notification: Performance of SimCode: time 1.482e-06/0.3927, allocations: 4 kB / 381 MB, free: 77.11 MB / 330.7 MB Notification: Performance of Templates: time 0.02459/0.4173, allocations: 16.32 MB / 397.4 MB, free: 60.84 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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: 5.061907024006359]