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.0007611/0.0007611, allocations: 91.61 kB / 22.19 MB, free: 2.383 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.0007969/0.0007969, allocations: 161.7 kB / 25.45 MB, free: 9.348 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.8049/0.8049, allocations: 158.6 MB / 187.2 MB, free: 3.035 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 / 299.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.36e-05, allocations: 6.281 kB / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.006268/0.006292, allocations: 8.455 MB / 308.2 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003624/0.009916, allocations: 2.66 MB / 310.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005482/0.01046, allocations: 63.75 kB / 310.9 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00319/0.01365, allocations: 3.714 MB / 314.6 MB, free: 7.938 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001568/0.01522, allocations: 0.9396 MB / 315.5 MB, free: 6.992 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.0163, allocations: 0.915 MB / 316.5 MB, free: 6.074 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002567/0.01886, allocations: 4.08 MB / 320.5 MB, free: 1.977 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005278/0.02414, allocations: 6.227 MB / 326.8 MB, free: 11.67 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002506/0.02665, allocations: 3.342 MB / 330.1 MB, free: 8.324 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001968/0.02862, allocations: 2.21 MB / 332.3 MB, free: 6.109 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000445/0.02906, allocations: 0.6094 MB / 332.9 MB, free: 5.5 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008338/0.0299, allocations: 0.8083 MB / 333.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005728/0.03047, allocations: 1.227 MB / 335 MB, free: 3.461 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009863/0.03145, allocations: 1.614 MB / 336.6 MB, free: 1.844 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004808/0.03626, allocations: 8.235 MB / 344.8 MB, free: 9.582 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.03626, allocations: 0 / 344.8 MB, free: 9.582 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.03627, allocations: 4 kB / 344.8 MB, free: 9.578 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.586e-05/0.03632, allocations: 0 / 344.8 MB, free: 9.578 MB / 330.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.006425/0.04275, allocations: 5.128 MB / 349.9 MB, free: 4.395 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.04279, allocations: 15.98 kB / 350 MB, free: 4.379 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006912/0.0497, allocations: 2.585 MB / 352.5 MB, free: 1.789 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1537/0.2034, allocations: 2.155 MB / 354.7 MB, free: 55.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000408/0.2038, allocations: 342.2 kB / 355 MB, free: 55.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001218/0.205, allocations: 440.7 kB / 355.5 MB, free: 55.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008202/0.2132, allocations: 6.132 MB / 361.6 MB, free: 52.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-05/0.2133, allocations: 7.328 kB / 361.6 MB, free: 52.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002845/0.2136, allocations: 183.2 kB / 361.8 MB, free: 52.56 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002257/0.2138, allocations: 214.8 kB / 362 MB, free: 52.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006139/0.2199, allocations: 5.763 MB / 367.8 MB, free: 50.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01272/0.2327, allocations: 17.87 MB / 385.6 MB, free: 34.56 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00282/0.2355, allocations: 2.695 MB / 388.3 MB, free: 32.03 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007409/0.2362, allocations: 0.898 MB / 389.2 MB, free: 31.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002194/0.2384, allocations: 2.356 MB / 391.6 MB, free: 28.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.2384, allocations: 34.73 kB / 391.6 MB, free: 28.79 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.734e-06/0.2384, allocations: 0 / 391.6 MB, free: 28.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005758/0.239, allocations: 0.6483 MB / 392.3 MB, free: 28.14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.239, allocations: 55.39 kB / 392.3 MB, free: 28.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.2403, allocations: 2.09 MB / 394.4 MB, free: 26.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.2403, allocations: 29.7 kB / 394.4 MB, free: 26.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004535/0.2408, allocations: 2.265 MB / 396.7 MB, free: 23.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.43e-05/0.2408, allocations: 147.1 kB / 396.8 MB, free: 23.72 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003848/0.2412, allocations: 0.5358 MB / 397.4 MB, free: 23.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.221e-05/0.2412, allocations: 345.9 kB / 397.7 MB, free: 22.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000647/0.2419, allocations: 0.8793 MB / 398.6 MB, free: 21.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009269/0.2428, allocations: 2.247 MB / 400.8 MB, free: 19.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.2443, allocations: 3.071 MB / 403.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/0.2443, allocations: 16 kB / 403.9 MB, free: 15.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.00224/0.2466, allocations: 3.126 MB / 407 MB, free: 12.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.2466, allocations: 32.19 kB / 407.1 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/0.2466, allocations: 52 kB / 407.1 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.437e-05/0.2467, allocations: 68 kB / 407.2 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007932/0.2475, allocations: 0.5888 MB / 407.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.39e-05/0.2475, allocations: 95.64 kB / 407.9 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008892/0.2484, allocations: 417.3 kB / 408.3 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.534e-05/0.2485, allocations: 144 kB / 408.4 MB, free: 10.76 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.00108/0.2496, allocations: 1.558 MB / 410 MB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.524e-05/0.2496, allocations: 143 kB / 410.1 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005075/0.2502, allocations: 0.6173 MB / 410.7 MB, free: 8.402 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002203/0.2504, allocations: 319.9 kB / 411.1 MB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2504, allocations: 4 kB / 411.1 MB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2504, allocations: 0 / 411.1 MB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.2524, allocations: 2.74 MB / 413.8 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.2524, allocations: 8.031 kB / 413.8 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.2525, allocations: 51.91 kB / 413.9 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.2525, allocations: 11.94 kB / 413.9 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.2526, allocations: 15.98 kB / 413.9 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.2526, allocations: 7.828 kB / 413.9 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.2526, allocations: 11.94 kB / 413.9 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005705/0.2531, allocations: 0.8783 MB / 414.8 MB, free: 4.195 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.2533, allocations: 195 kB / 415 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.184e-05/0.2534, allocations: 15.95 kB / 415 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.2537, allocations: 43.94 kB / 415 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.2537, allocations: 33.3 kB / 415.1 MB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.2537, allocations: 12 kB / 415.1 MB, free: 3.902 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008828/0.2546, allocations: 1.323 MB / 416.4 MB, free: 2.582 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2546, allocations: 0 / 416.4 MB, free: 2.582 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001394/0.256, allocations: 0.9377 MB / 417.3 MB, free: 1.641 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.000256/0.2562, allocations: 146.8 kB / 417.5 MB, free: 1.492 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.2574, allocations: 1.579 MB / 419.1 MB, free: 15.92 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2574, allocations: 4 kB / 419.1 MB, free: 15.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.2576, allocations: 178.1 kB / 419.2 MB, free: 15.74 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008238/0.2584, allocations: 299.7 kB / 419.5 MB, free: 15.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005581/0.264, allocations: 5.872 MB / 425.4 MB, free: 9.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001833/0.2658, allocations: 2.267 MB / 427.7 MB, free: 7.191 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.266, allocations: 128.5 kB / 427.8 MB, free: 7.062 MB / 346.7 MB Notification: Performance of SimCode: time 9.52e-07/0.266, allocations: 0 / 427.8 MB, free: 7.062 MB / 346.7 MB Notification: Performance of Templates: time 0.03421/0.3002, allocations: 39.09 MB / 466.9 MB, free: 15.92 MB / 394.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: 6.586057989858091]