Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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.0006917/0.0006917, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009297/0.001621, 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.0006921/0.0006921, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008996/0.001592, 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 0.9007/0.9007, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08899/0.9897, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.013e-05, allocations: 9.125 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.006754/0.006774, allocations: 8.696 MB / 253.2 MB, free: 5.582 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004876/0.01165, allocations: 2.755 MB / 256 MB, free: 2.816 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.0127, allocations: 79.62 kB / 256.1 MB, free: 2.738 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003769/0.01647, allocations: 3.966 MB / 260 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.01834, allocations: 0.7683 MB / 260.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.01962, allocations: 0.91 MB / 261.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002816/0.02243, allocations: 3.8 MB / 265.5 MB, free: 9.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006202/0.02863, allocations: 6.22 MB / 271.7 MB, free: 2.922 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1114/0.1401, allocations: 3.271 MB / 275 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003359/0.1434, allocations: 2.332 MB / 277.3 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001634/0.1451, allocations: 0.5873 MB / 277.9 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001987/0.147, allocations: 0.8233 MB / 278.7 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000921/0.148, allocations: 0.891 MB / 279.6 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0022/0.1502, allocations: 1.29 MB / 280.9 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004425/0.1546, allocations: 3.766 MB / 284.7 MB, free: 5.887 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.557e-05/0.1546, allocations: 0.7031 kB / 284.7 MB, free: 5.887 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1546, allocations: 0 / 284.7 MB, free: 5.887 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001328/0.1547, allocations: 5.641 kB / 284.7 MB, free: 5.887 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.007722/0.1625, allocations: 5.586 MB / 290.3 MB, free: 4.402 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.1625, allocations: 11.12 kB / 290.3 MB, free: 4.402 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004/0.1665, allocations: 1.701 MB / 292 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.1683, allocations: 1.194 MB / 293.2 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.1684, allocations: 314.6 kB / 293.5 MB, free: 4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000347/0.1688, allocations: 411.9 kB / 293.9 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003323/0.1721, allocations: 2.724 MB / 296.6 MB, free: 2.898 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.308e-05/0.1722, allocations: 1.328 kB / 296.6 MB, free: 2.898 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000234/0.1724, allocations: 170.6 kB / 296.8 MB, free: 2.734 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.506e-05/0.1725, allocations: 177.3 kB / 296.9 MB, free: 2.566 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.1739, allocations: 1.065 MB / 298 MB, free: 1.633 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01214/0.186, allocations: 12.02 MB / 310 MB, free: 6.207 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.1875, allocations: 1.131 MB / 311.2 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004025/0.1879, allocations: 333.6 kB / 311.5 MB, free: 4.777 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.188, allocations: 52.17 kB / 311.5 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.188, allocations: 55.03 kB / 311.6 MB, free: 4.668 MB / 282.7 MB Notification: Performance of pre-optimization done (n=100): time 3.336e-06/0.188, allocations: 0 / 311.6 MB, free: 4.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=100): time 0.0007133/0.1888, allocations: 0.4962 MB / 312.1 MB, free: 4.168 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.1888, allocations: 68.41 kB / 312.2 MB, free: 4.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006846/0.1895, allocations: 0.9346 MB / 313.1 MB, free: 3.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/0.1895, allocations: 41.7 kB / 313.1 MB, free: 3.273 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000702/0.1902, allocations: 1.746 MB / 314.9 MB, free: 1.566 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/0.1904, allocations: 376.5 kB / 315.2 MB, free: 1.219 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003283/0.1908, allocations: 420.1 kB / 315.7 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.793e-05/0.1908, allocations: 351 kB / 316 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/0.1911, allocations: 295.2 kB / 316.3 MB, free: 228 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006549/0.1918, allocations: 1.194 MB / 317.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.193, allocations: 1.669 MB / 319.2 MB, free: 12.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.541e-05/0.193, allocations: 8 kB / 319.2 MB, free: 12.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.001297/0.1943, allocations: 1.309 MB / 320.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.1943, allocations: 27.92 kB / 320.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.928e-05/0.1944, allocations: 36 kB / 320.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.431e-05/0.1944, allocations: 50.91 kB / 320.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.1954, allocations: 0.5587 MB / 321.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.245e-05/0.1955, allocations: 73.66 kB / 321.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000674/0.1961, allocations: 250.1 kB / 321.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.1963, allocations: 99.98 kB / 321.6 MB, free: 10.53 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.0007807/0.197, allocations: 258.6 kB / 321.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.1972, allocations: 107.4 kB / 321.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000836/0.198, allocations: 0.7242 MB / 322.6 MB, free: 9.504 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002978/0.1983, allocations: 316.5 kB / 322.9 MB, free: 9.191 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.1983, allocations: 4 kB / 322.9 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.1983, allocations: 11.62 kB / 323 MB, free: 9.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005201/0.2035, allocations: 3.974 MB / 326.9 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/0.2035, allocations: 20.19 kB / 327 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004192/0.2039, allocations: 233.9 kB / 327.2 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/0.2042, allocations: 183.8 kB / 327.4 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.917e-05/0.2042, allocations: 28 kB / 327.4 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.692e-05/0.2043, allocations: 47.98 kB / 327.4 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.788e-05/0.2043, allocations: 35.11 kB / 327.5 MB, free: 4.887 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.401e-05/0.2043, allocations: 41.64 kB / 327.5 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.2058, allocations: 1.549 MB / 329.1 MB, free: 2.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.2059, allocations: 47.98 kB / 329.1 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/0.2062, allocations: 43.98 kB / 329.2 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.2064, allocations: 145.7 kB / 329.3 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/0.2064, allocations: 47.98 kB / 329.3 MB, free: 2.719 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003259/0.2067, allocations: 393.7 kB / 329.7 MB, free: 2.375 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2067, allocations: 3.375 kB / 329.7 MB, free: 2.375 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00175/0.2085, allocations: 0.8793 MB / 330.6 MB, free: 1.492 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.0002611/0.2087, allocations: 189.3 kB / 330.8 MB, free: 1.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009411/0.2097, allocations: 0.9308 MB / 331.7 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.635e-05/0.2097, allocations: 35.83 kB / 331.8 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002781/0.21, allocations: 305.7 kB / 332.1 MB, free: 288 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.2111, allocations: 460.8 kB / 332.5 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01968/0.2308, allocations: 6.173 MB / 338.7 MB, free: 9.418 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008797/0.2316, allocations: 0.7411 MB / 339.4 MB, free: 8.648 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006471/0.2323, allocations: 220.7 kB / 339.6 MB, free: 8.426 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004608/0.2328, allocations: 325.2 kB / 340 MB, free: 8.105 MB / 314.7 MB Notification: Performance of SimCode: time 1.683e-06/0.2328, allocations: 0 / 340 MB, free: 8.105 MB / 314.7 MB Notification: Performance of Templates: time 0.03062/0.2634, allocations: 18.03 MB / 358 MB, free: 6.371 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.889292884618044]