Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009383/0.0009383, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 147.1 kB / 24.89 MB, free: 8.781 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9883/0.9883, allocations: 173.4 MB / 201.5 MB, free: 8.766 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 268.5 MB, free: 5.996 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.597e-05, allocations: 5.969 kB / 268.5 MB, free: 5.992 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.0074/0.007426, allocations: 8.622 MB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00516/0.01259, allocations: 2.665 MB / 279.8 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.01376, allocations: 79.62 kB / 279.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004415/0.01817, allocations: 3.966 MB / 283.9 MB, free: 6.586 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002642/0.02081, allocations: 0.9082 MB / 284.8 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.02214, allocations: 0.7863 MB / 285.6 MB, free: 4.887 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00334/0.02548, allocations: 3.777 MB / 289.3 MB, free: 1.094 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1349/0.1603, allocations: 6.332 MB / 295.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004018/0.1644, allocations: 3.215 MB / 298.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003345/0.1677, allocations: 2.346 MB / 301.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001382/0.1691, allocations: 0.5872 MB / 301.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.1704, allocations: 0.8083 MB / 302.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000563/0.171, allocations: 1.145 MB / 303.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001654/0.1726, allocations: 1.538 MB / 305.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0029/0.1755, allocations: 3.95 MB / 309.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1755, allocations: 2.031 kB / 309.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1755, allocations: 3.656 kB / 309.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001363/0.1757, allocations: 0.6875 kB / 309.3 MB, free: 10.45 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.006215/0.1819, allocations: 4.745 MB / 314 MB, free: 8.242 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1819, allocations: 13.09 kB / 314 MB, free: 8.242 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004229/0.1861, allocations: 1.693 MB / 315.7 MB, free: 7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/0.1878, allocations: 1.186 MB / 316.9 MB, free: 5.895 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.1879, allocations: 313.6 kB / 317.2 MB, free: 5.586 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003292/0.1882, allocations: 414 kB / 317.6 MB, free: 5.188 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003023/0.1913, allocations: 2.713 MB / 320.3 MB, free: 2.414 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.429e-05/0.1913, allocations: 11.31 kB / 320.3 MB, free: 2.406 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002253/0.1916, allocations: 165.1 kB / 320.5 MB, free: 2.246 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/0.1917, allocations: 180.6 kB / 320.7 MB, free: 2.066 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.1932, allocations: 1.057 MB / 321.7 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01308/0.2063, allocations: 11.94 MB / 333.7 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.2078, allocations: 1.134 MB / 334.8 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004074/0.2082, allocations: 343 kB / 335.1 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.2083, allocations: 40.98 kB / 335.2 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.2083, allocations: 39.56 kB / 335.2 MB, free: 3.781 MB / 282.7 MB Notification: Performance of pre-optimization done (n=100): time 4.058e-06/0.2083, allocations: 0 / 335.2 MB, free: 3.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=100): time 0.0007273/0.209, allocations: 0.4984 MB / 335.7 MB, free: 3.277 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.2091, allocations: 64.41 kB / 335.8 MB, free: 3.203 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006804/0.2097, allocations: 0.9458 MB / 336.7 MB, free: 2.422 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.2098, allocations: 41.7 kB / 336.8 MB, free: 2.375 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006646/0.2105, allocations: 1.742 MB / 338.5 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004452/0.2109, allocations: 384.7 kB / 338.9 MB, free: 328 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003433/0.2112, allocations: 409.2 kB / 339.3 MB, free: 15.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.914e-05/0.2113, allocations: 351.7 kB / 339.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003155/0.2116, allocations: 295.2 kB / 339.9 MB, free: 15.33 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006505/0.2123, allocations: 1.189 MB / 341.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.2135, allocations: 1.66 MB / 342.8 MB, free: 11.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.612e-05/0.2135, allocations: 8 kB / 342.8 MB, free: 11.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.001347/0.2148, allocations: 1.315 MB / 344.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.2149, allocations: 23.94 kB / 344.1 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.704e-05/0.2149, allocations: 32 kB / 344.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.538e-05/0.2149, allocations: 48 kB / 344.2 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000933/0.2159, allocations: 0.5254 MB / 344.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.257e-05/0.2159, allocations: 65.84 kB / 344.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006447/0.2165, allocations: 258.1 kB / 345 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.209e-05/0.2166, allocations: 91.98 kB / 345.1 MB, free: 9.699 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (272): * Single equations (assignments): 271 * 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.0005469/0.2172, allocations: 265.8 kB / 345.4 MB, free: 9.465 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.2173, allocations: 103.6 kB / 345.5 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009993/0.2183, allocations: 0.7314 MB / 346.2 MB, free: 8.664 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003017/0.2186, allocations: 320.5 kB / 346.5 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2186, allocations: 3.984 kB / 346.5 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.2186, allocations: 3.984 kB / 346.5 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004896/0.2235, allocations: 3.879 MB / 350.4 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.2235, allocations: 20 kB / 350.4 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/0.2239, allocations: 213.3 kB / 350.6 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.64e-05/0.2239, allocations: 28 kB / 350.7 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-05/0.224, allocations: 43.98 kB / 350.7 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.066e-05/0.224, allocations: 39.48 kB / 350.7 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.361e-05/0.224, allocations: 32.12 kB / 350.8 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.2252, allocations: 1.544 MB / 352.3 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/0.2255, allocations: 189.6 kB / 352.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.315e-05/0.2256, allocations: 51.97 kB / 352.5 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.226, allocations: 36 kB / 352.6 MB, free: 2.168 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.2261, allocations: 150.4 kB / 352.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/0.2261, allocations: 56.03 kB / 352.8 MB, free: 1.984 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005836/0.2267, allocations: 395.2 kB / 353.2 MB, free: 1.637 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2267, allocations: 0 / 353.2 MB, free: 1.637 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001768/0.2285, allocations: 0.8754 MB / 354 MB, free: 0.7578 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * 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 (106): * Single equations (assignments): 105 * 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.0002985/0.2288, allocations: 203.2 kB / 354.2 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.2299, allocations: 0.9189 MB / 355.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.313e-05/0.2299, allocations: 36.28 kB / 355.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002979/0.2302, allocations: 306.9 kB / 355.5 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.2313, allocations: 352.5 kB / 355.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007181/0.2385, allocations: 5.636 MB / 361.5 MB, free: 9.305 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006636/0.2391, allocations: 0.7144 MB / 362.2 MB, free: 8.566 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005963/0.2397, allocations: 224.7 kB / 362.4 MB, free: 8.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004847/0.2402, allocations: 317.2 kB / 362.7 MB, free: 8.027 MB / 314.7 MB Notification: Performance of SimCode: time 1.764e-06/0.2402, allocations: 4 kB / 362.7 MB, free: 8.023 MB / 314.7 MB Notification: Performance of Templates: time 0.02528/0.2655, allocations: 17.29 MB / 380 MB, free: 7.043 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/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: 2.9229802531190217]