Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009525/0.0009525, allocations: 179.5 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008573/0.0008573, allocations: 98 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000475/0.0004751, allocations: 8 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2272, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.006678/0.2339, allocations: 8.309 MB / 382.9 MB, free: 38.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00483/0.2388, allocations: 2.511 MB / 385.4 MB, free: 36.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.2401, allocations: 52.78 kB / 385.4 MB, free: 36.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009602/0.2411, allocations: 409.5 kB / 385.8 MB, free: 36.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002544/0.2436, allocations: 0.8842 MB / 386.7 MB, free: 35.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.2451, allocations: 0.6316 MB / 387.3 MB, free: 35.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003234/0.2483, allocations: 3.621 MB / 391 MB, free: 32.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009847/0.2582, allocations: 8.2 MB / 399.2 MB, free: 24.13 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001775/0.26, allocations: 1.546 MB / 400.7 MB, free: 22.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.2616, allocations: 1.833 MB / 402.5 MB, free: 20.74 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003126/0.2619, allocations: 252 kB / 402.8 MB, free: 20.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009168/0.2629, allocations: 467.7 kB / 403.2 MB, free: 20.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003785/0.2633, allocations: 0.724 MB / 404 MB, free: 19.31 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005819/0.2638, allocations: 0.8239 MB / 404.8 MB, free: 18.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003722/0.2676, allocations: 6.822 MB / 411.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2676, allocations: 0 / 411.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2676, allocations: 0 / 411.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.057e-05/0.2677, allocations: 3.938 kB / 411.6 MB, free: 11.64 MB / 298.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.008281/0.276, allocations: 4.277 MB / 415.9 MB, free: 7.293 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.276, allocations: 8.031 kB / 415.9 MB, free: 7.285 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01424/0.2903, allocations: 2.582 MB / 418.5 MB, free: 4.695 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003443/0.2937, allocations: 2.135 MB / 420.6 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/0.2939, allocations: 337.1 kB / 420.9 MB, free: 2.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007143/0.2947, allocations: 443.9 kB / 421.4 MB, free: 1.746 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/0.3057, allocations: 6.087 MB / 427.5 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.792e-05/0.3058, allocations: 0 / 427.5 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004254/0.3062, allocations: 184 kB / 427.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002012/0.3064, allocations: 221.3 kB / 427.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009645/0.3161, allocations: 5.763 MB / 433.6 MB, free: 5.438 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03053/0.3467, allocations: 21.47 MB / 455.1 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008042/0.3547, allocations: 8.97 MB / 464.1 MB, free: 4.898 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/0.3563, allocations: 1.023 MB / 465.1 MB, free: 3.879 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005317/0.3617, allocations: 3.686 MB / 468.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.3617, allocations: 34.56 kB / 468.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 2.524e-06/0.3617, allocations: 0 / 468.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001222/0.3629, allocations: 0.7689 MB / 469.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.363, allocations: 55.41 kB / 469.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002794/0.3658, allocations: 1.975 MB / 471.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.205e-05/0.3658, allocations: 29.7 kB / 471.6 MB, free: 13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001306/0.3672, allocations: 2.177 MB / 473.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.3673, allocations: 166.2 kB / 474 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.3675, allocations: 48 kB / 474 MB, free: 10.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002296/0.3677, allocations: 459.9 kB / 474.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.3691, allocations: 0.9027 MB / 475.4 MB, free: 9.215 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/0.3712, allocations: 2.283 MB / 477.7 MB, free: 6.258 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/0.3731, allocations: 1.435 MB / 479.1 MB, free: 4.824 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.678e-05/0.3732, allocations: 16 kB / 479.1 MB, free: 4.809 MB / 362.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.004859/0.378, allocations: 3.192 MB / 482.3 MB, free: 1.609 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.891e-05/0.3781, allocations: 24 kB / 482.3 MB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.812e-05/0.3782, allocations: 48 kB / 482.4 MB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.97e-05/0.3782, allocations: 72 kB / 482.4 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/0.38, allocations: 0.5966 MB / 483 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.929e-05/0.3801, allocations: 95.64 kB / 483.1 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/0.382, allocations: 412.6 kB / 483.5 MB, free: 380 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002048/0.3822, allocations: 148 kB / 483.7 MB, free: 232 kB / 362.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 (320): * Single equations (assignments): 316 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002267/0.3845, allocations: 1.562 MB / 485.2 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/0.3847, allocations: 134.2 kB / 485.4 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.3858, allocations: 0.7116 MB / 486.1 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004926/0.3863, allocations: 406.8 kB / 486.5 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3863, allocations: 4 kB / 486.5 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3863, allocations: 3.984 kB / 486.5 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006043/0.3923, allocations: 4.061 MB / 490.6 MB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.3924, allocations: 4.594 kB / 490.6 MB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.3927, allocations: 67.83 kB / 490.6 MB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/0.3927, allocations: 11.95 kB / 490.6 MB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.3927, allocations: 12 kB / 490.6 MB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/0.3927, allocations: 8 kB / 490.7 MB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.3927, allocations: 7.938 kB / 490.7 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.3939, allocations: 1.021 MB / 491.7 MB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004887/0.3944, allocations: 303 kB / 492 MB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.3947, allocations: 12 kB / 492 MB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006409/0.3953, allocations: 48 kB / 492 MB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.3954, allocations: 35.86 kB / 492.1 MB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.3954, allocations: 12 kB / 492.1 MB, free: 7.512 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001806/0.3972, allocations: 1.312 MB / 493.4 MB, free: 6.203 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3972, allocations: 4 kB / 493.4 MB, free: 6.199 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00279/0.4, allocations: 0.9285 MB / 494.3 MB, free: 5.266 MB / 378.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003602/0.4004, allocations: 163 kB / 494.5 MB, free: 5.098 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002831/0.4032, allocations: 1.74 MB / 496.2 MB, free: 3.359 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.4033, allocations: 0 / 496.2 MB, free: 3.359 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.4036, allocations: 227.7 kB / 496.4 MB, free: 3.137 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/0.4055, allocations: 302 kB / 496.7 MB, free: 2.848 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/0.4181, allocations: 7.283 MB / 0.4922 GB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002941/0.421, allocations: 2.824 MB / 0.495 GB, free: 8.609 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004607/0.4215, allocations: 135.4 kB / 0.4951 GB, free: 8.477 MB / 394.7 MB Notification: Performance of SimCode: time 9.91e-07/0.4215, allocations: 0 / 0.4951 GB, free: 8.477 MB / 394.7 MB Notification: Performance of Templates: time 0.1927/0.6143, allocations: 37.37 MB / 0.5316 GB, free: 98.83 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches