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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009533/0.0009533, allocations: 107.8 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008443/0.0008444, allocations: 43.94 kB / 350 MB, free: 64 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2677, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.007608/0.2754, allocations: 9.01 MB / 408.5 MB, free: 24.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005376/0.2808, allocations: 2.559 MB / 411.1 MB, free: 21.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001677/0.2825, allocations: 67.81 kB / 411.1 MB, free: 21.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006797/0.2894, allocations: 3.551 MB / 414.7 MB, free: 18.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003363/0.2928, allocations: 0.7971 MB / 415.5 MB, free: 17.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.2948, allocations: 0.7459 MB / 416.2 MB, free: 16.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003784/0.2986, allocations: 3.521 MB / 419.7 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01015/0.3088, allocations: 8.032 MB / 427.8 MB, free: 4.922 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002573/0.3114, allocations: 1.897 MB / 429.7 MB, free: 3.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003493/0.315, allocations: 2.316 MB / 432 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001404/0.3164, allocations: 459.9 kB / 432.4 MB, free: 252 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002292/0.3187, allocations: 0.6561 MB / 433.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001748/0.3205, allocations: 0.9698 MB / 434.1 MB, free: 14.62 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003701/0.3242, allocations: 2.132 MB / 436.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00868/0.3329, allocations: 7.755 MB / 443.9 MB, free: 4.699 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.3329, allocations: 0 / 443.9 MB, free: 4.699 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.333, allocations: 0 / 443.9 MB, free: 4.699 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002513/0.3332, allocations: 0 / 443.9 MB, free: 4.699 MB / 314.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.01457/0.3478, allocations: 4.864 MB / 448.8 MB, free: 15.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.3479, allocations: 8.031 kB / 448.8 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006934/0.3548, allocations: 1.265 MB / 450.1 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004877/0.3597, allocations: 2.229 MB / 452.3 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/0.36, allocations: 316.4 kB / 452.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001063/0.3611, allocations: 415.9 kB / 453 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01117/0.3722, allocations: 5.485 MB / 458.5 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.996e-05/0.3724, allocations: 7.984 kB / 458.5 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004767/0.3729, allocations: 168 kB / 458.7 MB, free: 5.777 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001757/0.3731, allocations: 176.6 kB / 458.8 MB, free: 5.602 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009232/0.3823, allocations: 4.816 MB / 463.7 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0247/0.407, allocations: 19.31 MB / 483 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004624/0.4117, allocations: 3.934 MB / 486.9 MB, free: 8.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/0.4129, allocations: 0.8253 MB / 487.7 MB, free: 7.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.4131, allocations: 118.1 kB / 487.8 MB, free: 7.453 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.4131, allocations: 43.56 kB / 487.9 MB, free: 7.402 MB / 362.7 MB Notification: Performance of pre-optimization done (n=106): time 3.206e-06/0.4132, allocations: 4 kB / 487.9 MB, free: 7.398 MB / 362.7 MB Notification: Performance of matching and sorting (n=106): time 0.002405/0.4156, allocations: 1.674 MB / 489.6 MB, free: 5.723 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.4156, allocations: 64.41 kB / 489.6 MB, free: 5.645 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.4174, allocations: 1.334 MB / 491 MB, free: 4.293 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.978e-05/0.4174, allocations: 41.7 kB / 491 MB, free: 4.246 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009561/0.4184, allocations: 1.75 MB / 492.8 MB, free: 2.469 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000293/0.4187, allocations: 382.7 kB / 493.1 MB, free: 2.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006043/0.4193, allocations: 455.5 kB / 493.6 MB, free: 1.637 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.4194, allocations: 353.9 kB / 493.9 MB, free: 1.285 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.4207, allocations: 0.867 MB / 494.8 MB, free: 424 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001777/0.4225, allocations: 1.859 MB / 496.6 MB, free: 14.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00294/0.4254, allocations: 2.876 MB / 499.5 MB, free: 10.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.216e-05/0.4255, allocations: 8 kB / 499.5 MB, free: 10.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003975/0.4294, allocations: 2.809 MB / 0.4906 GB, free: 7.898 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.4295, allocations: 28 kB / 0.4906 GB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.824e-05/0.4295, allocations: 40 kB / 0.4906 GB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.732e-05/0.4296, allocations: 48 kB / 0.4907 GB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/0.4312, allocations: 0.5186 MB / 0.4912 GB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.375e-05/0.4313, allocations: 71.72 kB / 0.4912 GB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.4324, allocations: 297.1 kB / 0.4915 GB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.4326, allocations: 112 kB / 0.4916 GB, free: 6.793 MB / 378.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 (275): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.00192/0.4345, allocations: 1.492 MB / 0.4931 GB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.4347, allocations: 118.5 kB / 0.4932 GB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/0.437, allocations: 1.548 MB / 0.4947 GB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001537/0.4386, allocations: 1.111 MB / 0.4958 GB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4386, allocations: 0 / 0.4958 GB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.4386, allocations: 3.984 kB / 0.4958 GB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1844/0.623, allocations: 12.39 MB / 0.5079 GB, free: 88.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-05/0.6231, allocations: 25.61 kB / 0.5079 GB, free: 88.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007189/0.6238, allocations: 230 kB / 0.5082 GB, free: 88.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.138e-05/0.6238, allocations: 31.75 kB / 0.5082 GB, free: 88.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.125e-05/0.6239, allocations: 47.16 kB / 0.5082 GB, free: 88.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.222e-05/0.6239, allocations: 41.33 kB / 0.5083 GB, free: 88.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-05/0.624, allocations: 34.66 kB / 0.5083 GB, free: 88.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004604/0.6286, allocations: 5.044 MB / 0.5132 GB, free: 85.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004871/0.6291, allocations: 342.3 kB / 0.5136 GB, free: 85.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.6292, allocations: 55.08 kB / 0.5136 GB, free: 85.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006951/0.6299, allocations: 65.08 kB / 0.5137 GB, free: 85.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.6301, allocations: 145 kB / 0.5138 GB, free: 85.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.774e-05/0.6301, allocations: 61.44 kB / 0.5139 GB, free: 85.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009262/0.6311, allocations: 0.9022 MB / 0.5147 GB, free: 84.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.122e-06/0.6311, allocations: 3.391 kB / 0.5148 GB, free: 84.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002193/0.6333, allocations: 0.9401 MB / 0.5157 GB, free: 84.63 MB / 378.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 (109): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003009/0.6336, allocations: 219.7 kB / 0.5159 GB, free: 84.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002203/0.6358, allocations: 1.956 MB / 0.5178 GB, free: 82.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.6358, allocations: 4 kB / 0.5178 GB, free: 82.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006977/0.6365, allocations: 0.6765 MB / 0.5185 GB, free: 82.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/0.6383, allocations: 331.3 kB / 0.5188 GB, free: 81.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008933/0.6473, allocations: 8.708 MB / 0.5273 GB, free: 72.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002364/0.6497, allocations: 2.835 MB / 0.53 GB, free: 69.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002084/0.6518, allocations: 0.7637 MB / 0.5308 GB, free: 69.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/0.6521, allocations: 109.5 kB / 0.5309 GB, free: 69.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6521, allocations: 0 / 0.5309 GB, free: 69.02 MB / 378.7 MB Notification: Performance of Templates: time 0.02695/0.6791, allocations: 17.13 MB / 0.5476 GB, free: 52.02 MB / 378.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches