Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 121 kB / 18.49 MB, free: 4.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 213.5 kB / 21.45 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 52.02 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1061, allocations: 53.33 MB / 427 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.2134/0.3196, allocations: 9.172 MB / 436.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005355/0.3249, allocations: 2.661 MB / 438.9 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.3262, allocations: 79.56 kB / 438.9 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007529/0.3337, allocations: 3.769 MB / 442.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003136/0.3368, allocations: 0.7405 MB / 443.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002137/0.339, allocations: 0.9265 MB / 444.4 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004847/0.3438, allocations: 3.63 MB / 448 MB, free: 236 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01071/0.3545, allocations: 7.375 MB / 455.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004026/0.3586, allocations: 2.138 MB / 457.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004846/0.3634, allocations: 2.388 MB / 459.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001702/0.3651, allocations: 0.5846 MB / 460.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002912/0.368, allocations: 0.8152 MB / 461.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001424/0.3694, allocations: 1.112 MB / 462.4 MB, free: 9.508 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003517/0.373, allocations: 2.278 MB / 464.7 MB, free: 7.938 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009416/0.3824, allocations: 7.926 MB / 472.6 MB, free: 2.422 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3824, allocations: 4 kB / 472.6 MB, free: 2.418 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3824, allocations: 1.375 kB / 472.6 MB, free: 2.418 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001512/0.3825, allocations: 0 / 472.6 MB, free: 2.418 MB / 366.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.01319/0.3957, allocations: 4.935 MB / 477.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.3958, allocations: 16.02 kB / 477.6 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001364/0.3959, allocations: 108.6 kB / 477.7 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009868/0.3969, allocations: 0.5962 MB / 478.3 MB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007942/0.4048, allocations: 1.286 MB / 479.6 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004893/0.4097, allocations: 2.327 MB / 481.9 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002444/0.41, allocations: 310.2 kB / 482.2 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006914/0.4107, allocations: 412 kB / 482.6 MB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01087/0.4216, allocations: 5.481 MB / 488.1 MB, free: 3.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.752e-05/0.4216, allocations: 4 kB / 488.1 MB, free: 3.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004185/0.4221, allocations: 168 kB / 488.2 MB, free: 3.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001825/0.4222, allocations: 184.6 kB / 488.4 MB, free: 3.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009236/0.4315, allocations: 4.804 MB / 493.2 MB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0323/0.4638, allocations: 19.34 MB / 0.5006 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005304/0.4691, allocations: 3.795 MB / 0.5043 GB, free: 6.125 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/0.4704, allocations: 0.7145 MB / 0.505 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000247/0.4706, allocations: 207.1 kB / 0.5052 GB, free: 5.176 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.4707, allocations: 39.56 kB / 0.5052 GB, free: 5.129 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 2.936e-06/0.4707, allocations: 0 / 0.5052 GB, free: 5.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002587/0.4732, allocations: 1.565 MB / 0.5067 GB, free: 3.559 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.4733, allocations: 64.39 kB / 0.5068 GB, free: 3.484 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002577/0.4759, allocations: 1.338 MB / 0.5081 GB, free: 2.129 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.942e-05/0.476, allocations: 41.7 kB / 0.5081 GB, free: 2.082 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001418/0.4774, allocations: 1.827 MB / 0.5099 GB, free: 240 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003989/0.4778, allocations: 385.1 kB / 0.5103 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007089/0.4785, allocations: 451.6 kB / 0.5107 GB, free: 15.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.4787, allocations: 361.7 kB / 0.5111 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.48, allocations: 0.8318 MB / 0.5119 GB, free: 14.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002211/0.4823, allocations: 1.823 MB / 0.5136 GB, free: 11.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003683/0.4859, allocations: 2.794 MB / 0.5164 GB, free: 8.633 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.753e-05/0.486, allocations: 12 kB / 0.5164 GB, free: 8.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004656/0.4906, allocations: 2.743 MB / 0.5191 GB, free: 5.871 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.341e-05/0.4907, allocations: 20.19 kB / 0.5191 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.909e-05/0.4907, allocations: 40 kB / 0.5191 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.206e-05/0.4908, allocations: 48 kB / 0.5192 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/0.4926, allocations: 0.5303 MB / 0.5197 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.164e-05/0.4927, allocations: 67.78 kB / 0.5198 GB, free: 5.168 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.4943, allocations: 289.9 kB / 0.52 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/0.4945, allocations: 120 kB / 0.5201 GB, free: 4.766 MB / 430.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.002756/0.4973, allocations: 1.477 MB / 0.5216 GB, free: 3.277 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003631/0.4976, allocations: 127.1 kB / 0.5217 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002725/0.5004, allocations: 1.459 MB / 0.5231 GB, free: 1.676 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001612/0.502, allocations: 1.045 MB / 0.5242 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.966e-06/0.502, allocations: 0 / 0.5242 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.502, allocations: 7.922 kB / 0.5242 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0204/0.5224, allocations: 13.75 MB / 0.5376 GB, free: 1.844 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.205e-05/0.5224, allocations: 20.22 kB / 0.5376 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009299/0.5234, allocations: 235.5 kB / 0.5378 GB, free: 1.594 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.776e-05/0.5234, allocations: 31.98 kB / 0.5379 GB, free: 1.562 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.5235, allocations: 44 kB / 0.5379 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.792e-05/0.5236, allocations: 39.86 kB / 0.5379 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.68e-05/0.5236, allocations: 31.88 kB / 0.538 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00384/0.5274, allocations: 2.679 MB / 0.5406 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007662/0.5282, allocations: 335.9 kB / 0.5409 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003221/0.5285, allocations: 55.98 kB / 0.541 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000979/0.5295, allocations: 67.88 kB / 0.541 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/0.5297, allocations: 147.3 kB / 0.5412 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.5298, allocations: 59.98 kB / 0.5412 GB, free: 13.78 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001716/0.5315, allocations: 0.9062 MB / 0.5421 GB, free: 12.87 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5315, allocations: 4 kB / 0.5421 GB, free: 12.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00327/0.5348, allocations: 0.8793 MB / 0.543 GB, free: 11.98 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.004683/0.5395, allocations: 3.324 MB / 0.5462 GB, free: 8.344 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003584/0.5431, allocations: 1.837 MB / 0.548 GB, free: 6.508 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.72e-05/0.5431, allocations: 4 kB / 0.548 GB, free: 6.504 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.5441, allocations: 0.614 MB / 0.5486 GB, free: 5.895 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/0.5466, allocations: 346.8 kB / 0.5489 GB, free: 5.562 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03489/0.5815, allocations: 18.6 MB / 0.5671 GB, free: 1.238 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004369/0.5858, allocations: 2.805 MB / 0.5699 GB, free: 14.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002072/0.5879, allocations: 0.7693 MB / 0.5706 GB, free: 13.62 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0022/0.5901, allocations: 1.148 MB / 0.5717 GB, free: 12.47 MB / 494.1 MB Notification: Performance of SimCode: time 1.743e-06/0.5901, allocations: 0 / 0.5717 GB, free: 12.47 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07975/0.6699, allocations: 39.71 MB / 0.6105 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.95, allocations: 17.67 kB / 0.6105 GB, free: 4.969 MB / 0.5137 GB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.89819208998233]