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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 113.5 kB / 17.7 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 191 kB / 18.63 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 242.3 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000965/0.0009651, allocations: 47.94 kB / 302.1 MB, free: 5.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09472/0.0957, allocations: 49.44 MB / 351.5 MB, free: 3.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.009113/0.1048, allocations: 9.132 MB / 360.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004707/0.1096, allocations: 2.565 MB / 363.2 MB, free: 7.996 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009278/0.1105, allocations: 63.81 kB / 363.3 MB, free: 7.934 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0074/0.118, allocations: 3.743 MB / 367 MB, free: 4.184 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00291/0.1209, allocations: 0.8971 MB / 367.9 MB, free: 3.281 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001881/0.1228, allocations: 0.7939 MB / 368.7 MB, free: 2.492 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1664/0.2892, allocations: 3.631 MB / 372.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01083/0.3001, allocations: 9.51 MB / 381.8 MB, free: 7.953 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002677/0.3028, allocations: 2.085 MB / 383.9 MB, free: 7.055 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002845/0.3056, allocations: 2.38 MB / 386.3 MB, free: 5.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008033/0.3065, allocations: 0.5856 MB / 386.9 MB, free: 5.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.3079, allocations: 0.7932 MB / 387.7 MB, free: 5.855 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008176/0.3088, allocations: 1.111 MB / 388.8 MB, free: 5.078 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002113/0.3109, allocations: 2.279 MB / 391.1 MB, free: 3.527 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005295/0.3162, allocations: 7.886 MB / 399 MB, free: 15.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3162, allocations: 3.281 kB / 399 MB, free: 15.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.118e-06/0.3162, allocations: 0 / 399 MB, free: 15.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000105/0.3163, allocations: 7.938 kB / 399 MB, free: 15.91 MB / 318.1 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.01107/0.3274, allocations: 4.847 MB / 403.8 MB, free: 11.7 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3275, allocations: 15.83 kB / 403.8 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007321/0.3348, allocations: 1.263 MB / 405.1 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005305/0.3401, allocations: 2.312 MB / 407.4 MB, free: 8.188 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002497/0.3404, allocations: 312.4 kB / 407.7 MB, free: 7.879 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001114/0.3415, allocations: 413.7 kB / 408.1 MB, free: 7.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01178/0.3533, allocations: 5.465 MB / 413.6 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001232/0.3535, allocations: 7.906 kB / 413.6 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004854/0.354, allocations: 174 kB / 413.8 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001806/0.3542, allocations: 180.6 kB / 413.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009188/0.3634, allocations: 4.8 MB / 418.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02856/0.392, allocations: 19.04 MB / 437.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004384/0.3964, allocations: 3.895 MB / 441.7 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/0.3976, allocations: 0.7792 MB / 442.5 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/0.3978, allocations: 109.8 kB / 442.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.3978, allocations: 47.55 kB / 442.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=100): time 3.426e-06/0.3978, allocations: 0 / 442.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.002271/0.4001, allocations: 1.548 MB / 444.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.4002, allocations: 64.41 kB / 444.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001804/0.402, allocations: 1.338 MB / 445.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.402, allocations: 45.7 kB / 445.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009866/0.403, allocations: 1.755 MB / 447.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.4033, allocations: 360.9 kB / 447.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006084/0.4039, allocations: 451.3 kB / 448.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4041, allocations: 345.9 kB / 448.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.4053, allocations: 0.8317 MB / 449.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001785/0.4071, allocations: 1.831 MB / 451.1 MB, free: 11.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002926/0.41, allocations: 2.794 MB / 453.9 MB, free: 7.934 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-05/0.41, allocations: 8 kB / 453.9 MB, free: 7.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.003858/0.4139, allocations: 2.729 MB / 456.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.4139, allocations: 23.56 kB / 456.7 MB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.869e-05/0.414, allocations: 35.94 kB / 456.7 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.235e-05/0.414, allocations: 48.75 kB / 456.8 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/0.4156, allocations: 0.5219 MB / 457.3 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.634e-05/0.4157, allocations: 70.03 kB / 457.4 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.4169, allocations: 289.2 kB / 457.7 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/0.4171, allocations: 112 kB / 457.8 MB, free: 4.355 MB / 366.1 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.002366/0.4195, allocations: 1.486 MB / 459.3 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.4197, allocations: 126.4 kB / 459.4 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/0.4219, allocations: 1.462 MB / 460.8 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001368/0.4233, allocations: 1.037 MB / 461.9 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.4233, allocations: 0 / 461.9 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.4233, allocations: 7.969 kB / 461.9 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01547/0.4388, allocations: 12.28 MB / 474.2 MB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.423e-05/0.4389, allocations: 24.03 kB / 474.2 MB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007648/0.4396, allocations: 230.5 kB / 474.4 MB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-05/0.4397, allocations: 31.94 kB / 474.4 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.558e-05/0.4398, allocations: 55.98 kB / 474.5 MB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-05/0.4398, allocations: 39.3 kB / 474.5 MB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.941e-05/0.4398, allocations: 35.06 kB / 474.6 MB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003064/0.4429, allocations: 2.643 MB / 477.2 MB, free: 136 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000662/0.4436, allocations: 331.2 kB / 477.5 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.4437, allocations: 55.88 kB / 477.6 MB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007075/0.4445, allocations: 63.95 kB / 477.7 MB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.4446, allocations: 145.5 kB / 477.8 MB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.401e-05/0.4447, allocations: 59.94 kB / 477.9 MB, free: 15.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001209/0.4459, allocations: 0.9101 MB / 478.8 MB, free: 14.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4459, allocations: 0 / 478.8 MB, free: 14.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002481/0.4484, allocations: 0.8662 MB / 479.6 MB, free: 13.7 MB / 398.1 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.000385/0.4488, allocations: 217.4 kB / 479.8 MB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002597/0.4514, allocations: 1.915 MB / 481.8 MB, free: 11.72 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.507e-06/0.4515, allocations: 4.938 kB / 481.8 MB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007563/0.4522, allocations: 0.6269 MB / 482.4 MB, free: 11.15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/0.454, allocations: 348.6 kB / 482.7 MB, free: 10.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009328/0.4633, allocations: 6.383 MB / 489.1 MB, free: 4.168 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002378/0.4657, allocations: 2.809 MB / 491.9 MB, free: 1.324 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001643/0.4674, allocations: 0.7615 MB / 492.7 MB, free: 0.5547 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.4677, allocations: 111.4 kB / 492.8 MB, free: 456 kB / 398.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4677, allocations: 0 / 492.8 MB, free: 456 kB / 398.1 MB Notification: Performance of Templates: time 0.02888/0.4966, allocations: 16.52 MB / 0.4974 GB, free: 96 kB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches