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.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 3.2.3+maint.om/package.mo", uses=false) 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.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.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001352, allocations: 108.4 kB / 18.36 MB, free: 4.633 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.001446/0.001446, allocations: 191 kB / 19.29 MB, free: 3.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 55.92 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08719/0.08874, allocations: 46.63 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01032/0.09909, allocations: 9.692 MB / 338.4 MB, free: 10 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005306/0.1044, allocations: 2.742 MB / 341.2 MB, free: 7.246 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.1061, allocations: 63.75 kB / 341.2 MB, free: 7.184 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008371/0.1145, allocations: 3.765 MB / 345 MB, free: 3.402 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003755/0.1183, allocations: 1.072 MB / 346.1 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.1203, allocations: 0.8024 MB / 346.9 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004554/0.1249, allocations: 3.918 MB / 350.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.012/0.1369, allocations: 9.553 MB / 360.3 MB, free: 3.949 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002645/0.1395, allocations: 2.221 MB / 362.6 MB, free: 1.723 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003565/0.1431, allocations: 2.546 MB / 365.1 MB, free: 15.17 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001108/0.1442, allocations: 0.6016 MB / 365.7 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001665/0.1459, allocations: 0.8123 MB / 366.5 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009271/0.1469, allocations: 1.2 MB / 367.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002252/0.1491, allocations: 2.428 MB / 370.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006508/0.1556, allocations: 8.133 MB / 378.3 MB, free: 1.957 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1557, allocations: 3.938 kB / 378.3 MB, free: 1.953 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1557, allocations: 0 / 378.3 MB, free: 1.953 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001383/0.1558, allocations: 0 / 378.3 MB, free: 1.953 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: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.1697/0.3256, allocations: 5.16 MB / 383.5 MB, free: 48.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3256, allocations: 10.59 kB / 383.5 MB, free: 48.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01591/0.3415, allocations: 2.569 MB / 386 MB, free: 48.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005373/0.347, allocations: 2.164 MB / 388.2 MB, free: 47.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003215/0.3473, allocations: 339.6 kB / 388.5 MB, free: 47.14 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001244/0.3486, allocations: 444.2 kB / 389 MB, free: 47 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009876/0.3584, allocations: 6.11 MB / 395.1 MB, free: 43.62 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.565e-05/0.3586, allocations: 1.438 kB / 395.1 MB, free: 43.62 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004018/0.359, allocations: 185 kB / 395.3 MB, free: 43.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002295/0.3592, allocations: 213 kB / 395.5 MB, free: 43.45 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007978/0.3672, allocations: 5.784 MB / 401.2 MB, free: 39.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02332/0.3906, allocations: 21.15 MB / 422.4 MB, free: 17.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005706/0.3963, allocations: 8.947 MB / 431.3 MB, free: 7.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.3975, allocations: 0.9727 MB / 432.3 MB, free: 6.602 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004102/0.4016, allocations: 3.562 MB / 435.9 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.4016, allocations: 38.73 kB / 435.9 MB, free: 2.707 MB / 318.1 MB Notification: Performance of pre-optimization done (n=28): time 1.983e-06/0.4016, allocations: 0 / 435.9 MB, free: 2.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008936/0.4025, allocations: 0.6366 MB / 436.5 MB, free: 2.066 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.4026, allocations: 59.41 kB / 436.6 MB, free: 1.996 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/0.4046, allocations: 1.982 MB / 438.6 MB, free: 4 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.011e-05/0.4046, allocations: 33.7 kB / 438.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001467/0.4061, allocations: 2.181 MB / 440.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.4063, allocations: 146.5 kB / 440.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007353/0.407, allocations: 0.5431 MB / 441.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.4072, allocations: 349.9 kB / 441.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.4084, allocations: 0.8715 MB / 442.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002235/0.4106, allocations: 2.258 MB / 445 MB, free: 8.902 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003352/0.414, allocations: 3.059 MB / 448 MB, free: 5.172 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.429e-05/0.414, allocations: 16 kB / 448 MB, free: 5.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.004909/0.4189, allocations: 3.129 MB / 451.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.352e-05/0.419, allocations: 24 kB / 451.2 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.69e-05/0.4191, allocations: 51.94 kB / 451.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.844e-05/0.4191, allocations: 68 kB / 451.3 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/0.421, allocations: 0.5888 MB / 451.9 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.948e-05/0.4211, allocations: 96.28 kB / 452 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001929/0.423, allocations: 412.1 kB / 452.4 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/0.4232, allocations: 148 kB / 452.5 MB, free: 0.6445 MB / 334.1 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.002256/0.4255, allocations: 1.562 MB / 454.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/0.4258, allocations: 130.3 kB / 454.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009631/0.4267, allocations: 0.6095 MB / 454.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004252/0.4272, allocations: 321.4 kB / 455.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4272, allocations: 0 / 455.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4272, allocations: 0 / 455.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005738/0.4329, allocations: 3.976 MB / 459.1 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.433, allocations: 4 kB / 459.1 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.4332, allocations: 55.91 kB / 459.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.4332, allocations: 4.594 kB / 459.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.4333, allocations: 15.98 kB / 459.2 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.918e-06/0.4333, allocations: 15.94 kB / 459.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.4333, allocations: 4 kB / 459.2 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.4344, allocations: 0.8958 MB / 460.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005346/0.435, allocations: 263.3 kB / 460.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.4351, allocations: 12 kB / 460.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005428/0.4357, allocations: 43.94 kB / 460.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.4357, allocations: 35.86 kB / 460.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.4358, allocations: 16 kB / 460.5 MB, free: 8.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001701/0.4375, allocations: 1.339 MB / 461.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4375, allocations: 0 / 461.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002374/0.4399, allocations: 0.9187 MB / 462.7 MB, free: 6.129 MB / 350.1 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.0002479/0.4401, allocations: 159.8 kB / 462.9 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002388/0.4425, allocations: 1.673 MB / 464.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4425, allocations: 0 / 464.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.4428, allocations: 191.9 kB / 464.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.4442, allocations: 295.6 kB / 465 MB, free: 3.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009031/0.4533, allocations: 5.906 MB / 470.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002546/0.4558, allocations: 2.894 MB / 473.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001722/0.4576, allocations: 0.7709 MB / 474.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.4578, allocations: 103.4 kB / 474.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4578, allocations: 0 / 474.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of Templates: time 0.03069/0.4885, allocations: 16.92 MB / 491.6 MB, free: 9.109 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile (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 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches