Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001264/0.001264, allocations: 109.3 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001271/0.001271, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.522/1.522, allocations: 230.4 MB / 251.1 MB, free: 8.516 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.83 kB / 369 MB, free: 6.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.237, allocations: 53.32 MB / 422.3 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01123/0.2482, allocations: 9.183 MB / 431.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005573/0.2538, allocations: 2.655 MB / 434.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.2552, allocations: 67.81 kB / 434.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00885/0.264, allocations: 3.759 MB / 437.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003611/0.2677, allocations: 0.748 MB / 438.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.2703, allocations: 0.9268 MB / 439.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005174/0.2755, allocations: 3.63 MB / 443.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01156/0.2871, allocations: 7.383 MB / 450.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003059/0.2901, allocations: 2.088 MB / 452.7 MB, free: 9.254 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004728/0.2949, allocations: 2.387 MB / 455.1 MB, free: 6.859 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002122/0.297, allocations: 0.582 MB / 455.7 MB, free: 6.277 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002909/0.2999, allocations: 0.8279 MB / 456.5 MB, free: 5.449 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001974/0.3019, allocations: 1.107 MB / 457.6 MB, free: 4.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00348/0.3053, allocations: 2.28 MB / 459.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008966/0.3143, allocations: 7.928 MB / 467.8 MB, free: 10.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3143, allocations: 4 kB / 467.8 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3143, allocations: 0 / 467.8 MB, free: 10.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002124/0.3145, allocations: 0 / 467.8 MB, free: 10.09 MB / 382.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.01301/0.3275, allocations: 4.933 MB / 472.8 MB, free: 5.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.3276, allocations: 8.031 kB / 472.8 MB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008136/0.3357, allocations: 1.282 MB / 474 MB, free: 3.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004687/0.3404, allocations: 2.323 MB / 476.4 MB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002839/0.3407, allocations: 312.4 kB / 476.7 MB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001148/0.3418, allocations: 411.9 kB / 477.1 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01086/0.3527, allocations: 5.477 MB / 482.6 MB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001204/0.3528, allocations: 7.984 kB / 482.6 MB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005495/0.3534, allocations: 168 kB / 482.7 MB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002887/0.3537, allocations: 188.5 kB / 482.9 MB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009106/0.3628, allocations: 4.804 MB / 487.7 MB, free: 6 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02875/0.3915, allocations: 19.34 MB / 0.4952 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004882/0.3964, allocations: 3.801 MB / 0.4989 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/0.3977, allocations: 0.7145 MB / 0.4996 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002357/0.3979, allocations: 207.1 kB / 0.4998 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.3979, allocations: 39.56 kB / 0.4998 GB, free: 12.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=100): time 2.745e-06/0.3979, allocations: 4 kB / 0.4998 GB, free: 12.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.00258/0.4005, allocations: 1.562 MB / 0.5013 GB, free: 11.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.4006, allocations: 60.41 kB / 0.5014 GB, free: 11.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.4025, allocations: 1.346 MB / 0.5027 GB, free: 9.691 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.246e-05/0.4026, allocations: 41.7 kB / 0.5028 GB, free: 9.645 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001354/0.4039, allocations: 1.819 MB / 0.5045 GB, free: 7.805 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000365/0.4043, allocations: 380.9 kB / 0.5049 GB, free: 7.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000625/0.4049, allocations: 459.6 kB / 0.5053 GB, free: 6.973 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.4051, allocations: 357.9 kB / 0.5057 GB, free: 6.617 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.4063, allocations: 0.8278 MB / 0.5065 GB, free: 5.785 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002077/0.4084, allocations: 1.831 MB / 0.5083 GB, free: 3.473 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003408/0.4118, allocations: 2.798 MB / 0.511 GB, free: 204 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.782e-05/0.4118, allocations: 8 kB / 0.511 GB, free: 196 kB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004206/0.416, allocations: 2.747 MB / 0.5137 GB, free: 13.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.4161, allocations: 24.25 kB / 0.5137 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.558e-05/0.4161, allocations: 32 kB / 0.5138 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.175e-05/0.4162, allocations: 48 kB / 0.5138 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/0.4178, allocations: 0.5186 MB / 0.5143 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.486e-05/0.4179, allocations: 71.72 kB / 0.5144 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.4192, allocations: 298 kB / 0.5147 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/0.4193, allocations: 116 kB / 0.5148 GB, free: 12.34 MB / 446.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.002626/0.4219, allocations: 1.488 MB / 0.5162 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002694/0.4222, allocations: 127.2 kB / 0.5163 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002474/0.4247, allocations: 1.454 MB / 0.5178 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001673/0.4264, allocations: 1.041 MB / 0.5188 GB, free: 8.191 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.4264, allocations: 0 / 0.5188 GB, free: 8.191 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.4264, allocations: 7.969 kB / 0.5188 GB, free: 8.184 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01969/0.4461, allocations: 13.75 MB / 0.5322 GB, free: 9.406 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.015e-05/0.4461, allocations: 24.06 kB / 0.5322 GB, free: 9.383 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008939/0.447, allocations: 235.5 kB / 0.5325 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-05/0.447, allocations: 28 kB / 0.5325 GB, free: 9.125 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-05/0.4471, allocations: 47.98 kB / 0.5325 GB, free: 9.078 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.501e-05/0.4472, allocations: 43.8 kB / 0.5326 GB, free: 9.035 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.662e-05/0.4472, allocations: 35.81 kB / 0.5326 GB, free: 9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003868/0.4511, allocations: 2.683 MB / 0.5352 GB, free: 6.008 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006804/0.4517, allocations: 332 kB / 0.5356 GB, free: 5.664 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002876/0.452, allocations: 55.97 kB / 0.5356 GB, free: 5.609 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009163/0.4529, allocations: 63.95 kB / 0.5357 GB, free: 5.547 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/0.4532, allocations: 143.4 kB / 0.5358 GB, free: 5.406 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.4533, allocations: 67.92 kB / 0.5359 GB, free: 5.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00169/0.455, allocations: 0.9101 MB / 0.5368 GB, free: 4.422 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.455, allocations: 0 / 0.5368 GB, free: 4.422 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002827/0.4578, allocations: 0.8754 MB / 0.5376 GB, free: 3.543 MB / 462.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.000597/0.4584, allocations: 214.6 kB / 0.5378 GB, free: 3.324 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00333/0.4617, allocations: 1.833 MB / 0.5396 GB, free: 1.488 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/0.4617, allocations: 4 kB / 0.5396 GB, free: 1.484 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.4628, allocations: 0.6208 MB / 0.5402 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/0.4649, allocations: 332.6 kB / 0.5405 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2063/0.6712, allocations: 6.447 MB / 0.5468 GB, free: 111.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002295/0.6735, allocations: 2.806 MB / 0.5496 GB, free: 110.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001389/0.6749, allocations: 0.7637 MB / 0.5503 GB, free: 110.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/0.6752, allocations: 118.6 kB / 0.5504 GB, free: 110.6 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/0.6752, allocations: 0 / 0.5504 GB, free: 110.6 MB / 462.1 MB Notification: Performance of Templates: time 0.02595/0.7011, allocations: 17.69 MB / 0.5677 GB, free: 98.93 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches