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.001872/0.001872, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002044/0.002044, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 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 1.563/1.563, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.202e-06/1.202e-06, allocations: 0 / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.801e-05, allocations: 2.312 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01306/0.01309, allocations: 8.801 MB / 281.1 MB, free: 8.992 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006835/0.01992, allocations: 2.592 MB / 283.7 MB, free: 6.391 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.02134, allocations: 79.62 kB / 283.8 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009792/0.03113, allocations: 3.979 MB / 287.8 MB, free: 2.316 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003413/0.03455, allocations: 0.7723 MB / 288.5 MB, free: 1.539 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002533/0.03708, allocations: 0.919 MB / 289.5 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1351/0.1722, allocations: 3.772 MB / 293.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008757/0.1809, allocations: 6.14 MB / 299.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004773/0.1857, allocations: 3.21 MB / 302.6 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003317/0.189, allocations: 2.28 MB / 304.9 MB, free: 9.488 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001051/0.1901, allocations: 0.5859 MB / 305.4 MB, free: 9.488 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001714/0.1918, allocations: 0.8081 MB / 306.3 MB, free: 9.441 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007442/0.1925, allocations: 1.151 MB / 307.4 MB, free: 8.699 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001948/0.1945, allocations: 1.541 MB / 308.9 MB, free: 7.973 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005695/0.2002, allocations: 8.054 MB / 317 MB, free: 2.324 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2002, allocations: 0 / 317 MB, free: 2.324 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2002, allocations: 1.219 kB / 317 MB, free: 2.324 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001431/0.2003, allocations: 3.984 kB / 317 MB, free: 2.32 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.01383/0.2141, allocations: 5.634 MB / 322.6 MB, free: 12.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.2142, allocations: 12.03 kB / 322.6 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008807/0.223, allocations: 1.78 MB / 324.4 MB, free: 10.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006027/0.229, allocations: 2.168 MB / 326.6 MB, free: 8.832 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003614/0.2294, allocations: 317 kB / 326.9 MB, free: 8.523 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001455/0.2308, allocations: 404 kB / 327.3 MB, free: 8.129 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/0.2423, allocations: 5.031 MB / 332.3 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001008/0.2424, allocations: 7.953 kB / 332.3 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004219/0.2428, allocations: 166.7 kB / 332.5 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002204/0.243, allocations: 176.6 kB / 332.7 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009171/0.2522, allocations: 4.324 MB / 337 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04297/0.2952, allocations: 24.53 MB / 361.5 MB, free: 5.008 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004694/0.2999, allocations: 1.646 MB / 363.2 MB, free: 3.395 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.3013, allocations: 0.6516 MB / 363.8 MB, free: 2.746 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001933/0.3015, allocations: 52.97 kB / 363.9 MB, free: 2.695 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.552e-05/0.3015, allocations: 46.33 kB / 363.9 MB, free: 2.637 MB / 314.7 MB Notification: Performance of pre-optimization done (n=100): time 3.727e-06/0.3015, allocations: 0 / 363.9 MB, free: 2.637 MB / 314.7 MB Notification: Performance of matching and sorting (n=100): time 0.00284/0.3044, allocations: 1.385 MB / 365.3 MB, free: 1.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.3044, allocations: 60.41 kB / 365.4 MB, free: 1.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003641/0.3081, allocations: 2.044 MB / 367.4 MB, free: 15.12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.17e-05/0.3081, allocations: 41.7 kB / 367.5 MB, free: 15.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002021/0.3102, allocations: 2.036 MB / 369.5 MB, free: 13.03 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004616/0.3106, allocations: 396.4 kB / 369.9 MB, free: 12.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001113/0.3117, allocations: 0.5795 MB / 370.5 MB, free: 12.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003737/0.3121, allocations: 0.5629 MB / 371 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.3135, allocations: 0.7146 MB / 371.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002979/0.3164, allocations: 2.269 MB / 374 MB, free: 7.848 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004651/0.3211, allocations: 3.197 MB / 377.2 MB, free: 4.141 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.581e-05/0.3211, allocations: 8 kB / 377.2 MB, free: 4.133 MB / 330.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004867/0.326, allocations: 2.622 MB / 379.8 MB, free: 1.715 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.749e-05/0.326, allocations: 27.41 kB / 379.9 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.509e-05/0.3261, allocations: 36 kB / 379.9 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.083e-05/0.3262, allocations: 48 kB / 379.9 MB, free: 1.609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/0.3281, allocations: 0.5208 MB / 380.5 MB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.695e-05/0.3282, allocations: 70.16 kB / 380.5 MB, free: 1.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.3297, allocations: 289.5 kB / 380.8 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002247/0.3299, allocations: 120 kB / 380.9 MB, free: 0.6719 MB / 330.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.002675/0.3326, allocations: 1.434 MB / 382.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004029/0.333, allocations: 159.1 kB / 382.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002831/0.3358, allocations: 1.367 MB / 383.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001604/0.3374, allocations: 0.8927 MB / 384.8 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3374, allocations: 0 / 384.8 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.856e-05/0.3374, allocations: 7.969 kB / 384.8 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02068/0.3581, allocations: 11.08 MB / 395.9 MB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.665e-05/0.3582, allocations: 24 kB / 395.9 MB, free: 1.445 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009497/0.3591, allocations: 229.9 kB / 396.1 MB, free: 1.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.422e-05/0.3591, allocations: 32.03 kB / 396.1 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.3593, allocations: 47.98 kB / 396.2 MB, free: 1.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.922e-05/0.3593, allocations: 39.11 kB / 396.2 MB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.674e-05/0.3593, allocations: 34.69 kB / 396.3 MB, free: 1.105 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004256/0.3636, allocations: 2.7 MB / 399 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000924/0.3645, allocations: 242.9 kB / 399.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003309/0.3648, allocations: 51.95 kB / 399.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.3659, allocations: 71.94 kB / 399.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002592/0.3661, allocations: 152.8 kB / 399.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/0.3663, allocations: 63.98 kB / 399.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001955/0.3682, allocations: 1.054 MB / 400.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3682, allocations: 0 / 400.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002918/0.3711, allocations: 0.8754 MB / 401.5 MB, free: 11.5 MB / 362.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.0004495/0.3716, allocations: 209.7 kB / 401.7 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003465/0.375, allocations: 1.894 MB / 403.6 MB, free: 9.543 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/0.3751, allocations: 8.062 kB / 403.6 MB, free: 9.535 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.3761, allocations: 0.6009 MB / 404.2 MB, free: 9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/0.3783, allocations: 368.9 kB / 404.5 MB, free: 8.652 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/0.3907, allocations: 6.369 MB / 410.9 MB, free: 1.871 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003236/0.3939, allocations: 2.036 MB / 412.9 MB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00189/0.3958, allocations: 0.6639 MB / 413.6 MB, free: 15.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003702/0.3962, allocations: 116.5 kB / 413.7 MB, free: 15.01 MB / 378.7 MB Notification: Performance of SimCode: time 1.623e-06/0.3962, allocations: 0 / 413.7 MB, free: 15.01 MB / 378.7 MB Notification: Performance of Templates: time 0.1471/0.5433, allocations: 15.76 MB / 429.5 MB, free: 110.4 MB / 378.7 MB " [Timeout remaining time 659] 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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.291346387006342]