Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009531/0.0009531, allocations: 196.4 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 226.6 MB / 244.3 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008184/0.0008184, allocations: 95.67 kB / 296.4 MB, free: 7.023 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002355/0.0002358, allocations: 8 kB / 356.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2863, allocations: 51.29 MB / 407.5 MB, free: 27.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.008296/0.2946, allocations: 11.98 MB / 419.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006876/0.3016, allocations: 3.52 MB / 423 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001798/0.3034, allocations: 91.75 kB / 423.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.3046, allocations: 0.5512 MB / 423.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003213/0.3078, allocations: 1.144 MB / 424.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.3101, allocations: 0.9636 MB / 425.7 MB, free: 9.586 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01005/0.3202, allocations: 9.091 MB / 434.8 MB, free: 484 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02364/0.3439, allocations: 12.13 MB / 447 MB, free: 4.262 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004253/0.3482, allocations: 2.332 MB / 449.3 MB, free: 1.922 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005065/0.3533, allocations: 2.806 MB / 452.1 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001737/0.3551, allocations: 380 kB / 452.5 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003529/0.3586, allocations: 0.5584 MB / 453 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002021/0.3607, allocations: 1.09 MB / 454.1 MB, free: 13.08 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002525/0.3632, allocations: 1.194 MB / 455.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.3735, allocations: 9.984 MB / 465.3 MB, free: 1.863 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3735, allocations: 0 / 465.3 MB, free: 1.863 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.3736, allocations: 0 / 465.3 MB, free: 1.863 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003494/0.3739, allocations: 0 / 465.3 MB, free: 1.863 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.01927/0.3932, allocations: 6.579 MB / 471.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.3933, allocations: 8.031 kB / 471.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01925/0.4125, allocations: 2.927 MB / 474.8 MB, free: 8.266 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009635/0.4222, allocations: 3.581 MB / 478.4 MB, free: 4.633 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006861/0.423, allocations: 481 kB / 478.9 MB, free: 4.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003151/0.4261, allocations: 0.6171 MB / 479.5 MB, free: 3.543 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02662/0.4528, allocations: 9.275 MB / 488.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002991/0.4531, allocations: 7.906 kB / 488.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001934/0.4551, allocations: 267.9 kB / 489 MB, free: 9.938 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003785/0.4555, allocations: 325.4 kB / 489.3 MB, free: 9.617 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01777/0.4733, allocations: 7.899 MB / 497.2 MB, free: 1.703 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2651/0.7384, allocations: 29.11 MB / 0.514 GB, free: 73.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009256/0.7477, allocations: 11.67 MB / 0.5254 GB, free: 62.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002055/0.7498, allocations: 1.606 MB / 0.527 GB, free: 62.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002137/0.75, allocations: 213.2 kB / 0.5272 GB, free: 62.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.7501, allocations: 60.31 kB / 0.5272 GB, free: 62.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=238): time 4.078e-06/0.7501, allocations: 1.75 kB / 0.5272 GB, free: 62.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=238): time 0.006355/0.7565, allocations: 4.14 MB / 0.5313 GB, free: 60.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.7565, allocations: 105 kB / 0.5314 GB, free: 60.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002238/0.7588, allocations: 1.884 MB / 0.5332 GB, free: 59.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001284/0.7589, allocations: 65.33 kB / 0.5333 GB, free: 59.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001019/0.76, allocations: 2.54 MB / 0.5358 GB, free: 56.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004858/0.7604, allocations: 0.8092 MB / 0.5366 GB, free: 56.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.7606, allocations: 71.09 kB / 0.5366 GB, free: 56.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.7608, allocations: 458 kB / 0.5371 GB, free: 55.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001759/0.7625, allocations: 1.386 MB / 0.5384 GB, free: 54.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002185/0.7647, allocations: 2.585 MB / 0.5409 GB, free: 52.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002355/0.7671, allocations: 1.987 MB / 0.5429 GB, free: 51.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.248e-05/0.7671, allocations: 10.84 kB / 0.5429 GB, free: 51.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005676/0.7728, allocations: 4.484 MB / 0.5473 GB, free: 47.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/0.7729, allocations: 24 kB / 0.5473 GB, free: 47.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-05/0.7729, allocations: 36 kB / 0.5473 GB, free: 47.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007103/0.7736, allocations: 326.4 kB / 0.5476 GB, free: 46.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00238/0.776, allocations: 0.78 MB / 0.5484 GB, free: 46.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003852/0.7799, allocations: 4.618 MB / 0.5529 GB, free: 41.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/0.7823, allocations: 408 kB / 0.5533 GB, free: 40.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002369/0.7825, allocations: 164 kB / 0.5535 GB, free: 40.76 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003732/0.7862, allocations: 2.194 MB / 0.5556 GB, free: 38.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00038/0.7866, allocations: 209.4 kB / 0.5558 GB, free: 38.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004121/0.7908, allocations: 3.174 MB / 0.5589 GB, free: 35.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.7908, allocations: 26.25 kB / 0.5589 GB, free: 35.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.7908, allocations: 8.188 kB / 0.5589 GB, free: 35.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/0.7908, allocations: 15.95 kB / 0.5589 GB, free: 35.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/0.8053, allocations: 12.66 MB / 0.5713 GB, free: 21.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/0.8054, allocations: 12 kB / 0.5713 GB, free: 21.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/0.8069, allocations: 443.3 kB / 0.5717 GB, free: 21.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006107/0.8075, allocations: 274.7 kB / 0.572 GB, free: 21.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/0.8076, allocations: 67.98 kB / 0.5721 GB, free: 21.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003803/0.8114, allocations: 4.551 MB / 0.5765 GB, free: 16.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/0.8115, allocations: 23.88 kB / 0.5765 GB, free: 16.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005892/0.8174, allocations: 4.965 MB / 0.5814 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/0.8187, allocations: 0.5406 MB / 0.5819 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/0.8189, allocations: 59.98 kB / 0.582 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.8201, allocations: 127.8 kB / 0.5821 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002546/0.8204, allocations: 205.4 kB / 0.5823 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/0.8205, allocations: 83.98 kB / 0.5824 GB, free: 9.992 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001728/0.8223, allocations: 1.275 MB / 0.5836 GB, free: 8.723 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8223, allocations: 0 / 0.5836 GB, free: 8.723 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003861/0.8262, allocations: 1.434 MB / 0.585 GB, free: 7.281 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.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 (226): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00041/0.8266, allocations: 227.8 kB / 0.5852 GB, free: 7.055 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004454/0.831, allocations: 3.609 MB / 0.5888 GB, free: 3.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.8311, allocations: 8.125 kB / 0.5888 GB, free: 3.422 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001783/0.8328, allocations: 1.687 MB / 0.5904 GB, free: 1.719 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/0.8352, allocations: 0.4916 MB / 0.5909 GB, free: 1.238 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01788/0.8531, allocations: 11.94 MB / 0.6026 GB, free: 5.066 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003904/0.8571, allocations: 3.893 MB / 0.6064 GB, free: 1.141 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/0.8582, allocations: 227.4 kB / 0.6066 GB, free: 0.918 MB / 394.7 MB Notification: Performance of SimCode: time 1.223e-06/0.8582, allocations: 3.938 kB / 0.6066 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of Templates: time 0.3575/1.216, allocations: 123.2 MB / 0.7269 GB, free: 109.8 MB / 458.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches