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.001306/0.001306, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.0014/0.0014, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.388/1.388, allocations: 230.6 MB / 257.5 MB, free: 7.785 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 51.91 kB / 377.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2383, allocations: 53.37 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01052/0.2489, allocations: 8.004 MB / 439.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00492/0.2538, allocations: 2.534 MB / 441.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005899/0.2544, allocations: 79.62 kB / 441.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007812/0.2622, allocations: 3.467 MB / 445.2 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002163/0.2643, allocations: 0.7556 MB / 445.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.2663, allocations: 0.9004 MB / 446.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003978/0.2703, allocations: 3.653 MB / 450.5 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008438/0.2787, allocations: 6.124 MB / 456.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002708/0.2814, allocations: 2.147 MB / 458.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003216/0.2846, allocations: 2.293 MB / 461 MB, free: 8.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008333/0.2855, allocations: 0.582 MB / 461.6 MB, free: 7.938 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.287, allocations: 0.8123 MB / 462.4 MB, free: 7.125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001258/0.2883, allocations: 1.11 MB / 463.5 MB, free: 6.012 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002557/0.2908, allocations: 1.767 MB / 465.3 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008908/0.2998, allocations: 7.963 MB / 473.3 MB, free: 12.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.2998, allocations: 0 / 473.3 MB, free: 12.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.2998, allocations: 0 / 473.3 MB, free: 12.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002194/0.3, allocations: 0 / 473.3 MB, free: 12.25 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.01238/0.3124, allocations: 4.864 MB / 478.1 MB, free: 7.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.3124, allocations: 12.03 kB / 478.2 MB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009209/0.3133, allocations: 0.5923 MB / 478.7 MB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007908/0.3212, allocations: 1.279 MB / 480 MB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005071/0.3263, allocations: 2.321 MB / 482.3 MB, free: 3.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/0.3266, allocations: 308.4 kB / 482.6 MB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00074/0.3273, allocations: 412 kB / 483 MB, free: 2.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/0.3373, allocations: 5.51 MB / 488.6 MB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.788e-05/0.3374, allocations: 4 kB / 488.6 MB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004004/0.3378, allocations: 168 kB / 488.7 MB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002075/0.338, allocations: 180.6 kB / 488.9 MB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00846/0.3465, allocations: 4.796 MB / 493.7 MB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02607/0.3726, allocations: 17.09 MB / 0.4988 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004029/0.3766, allocations: 1.745 MB / 0.5005 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.3779, allocations: 0.7184 MB / 0.5012 GB, free: 3.547 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.3781, allocations: 44.95 kB / 0.5013 GB, free: 3.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.3781, allocations: 43.56 kB / 0.5013 GB, free: 3.449 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.115e-06/0.3781, allocations: 0 / 0.5013 GB, free: 3.449 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002586/0.3807, allocations: 1.565 MB / 0.5028 GB, free: 1.883 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.3808, allocations: 60.41 kB / 0.5029 GB, free: 1.809 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/0.3826, allocations: 1.4 MB / 0.5043 GB, free: 400 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.845e-05/0.3827, allocations: 41.7 kB / 0.5043 GB, free: 352 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001302/0.384, allocations: 1.827 MB / 0.5061 GB, free: 14.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003275/0.3843, allocations: 377 kB / 0.5064 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006367/0.385, allocations: 459.7 kB / 0.5069 GB, free: 13.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3851, allocations: 353.7 kB / 0.5072 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.3864, allocations: 0.8318 MB / 0.508 GB, free: 12.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/0.3886, allocations: 1.819 MB / 0.5098 GB, free: 10.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003525/0.3921, allocations: 2.802 MB / 0.5125 GB, free: 6.898 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.818e-05/0.3921, allocations: 12 kB / 0.5126 GB, free: 6.887 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004251/0.3964, allocations: 2.739 MB / 0.5152 GB, free: 4.141 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.3964, allocations: 23.94 kB / 0.5153 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.944e-05/0.3964, allocations: 32 kB / 0.5153 GB, free: 4.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.091e-05/0.3965, allocations: 51.98 kB / 0.5153 GB, free: 4.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/0.3982, allocations: 0.5271 MB / 0.5158 GB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.295e-05/0.3983, allocations: 71.78 kB / 0.5159 GB, free: 3.438 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.3995, allocations: 290 kB / 0.5162 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001819/0.3997, allocations: 120 kB / 0.5163 GB, free: 3.035 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.002144/0.4018, allocations: 1.48 MB / 0.5178 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002196/0.402, allocations: 127.2 kB / 0.5179 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002439/0.4045, allocations: 1.466 MB / 0.5193 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001598/0.4061, allocations: 1.037 MB / 0.5203 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4061, allocations: 0 / 0.5203 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.4061, allocations: 15.86 kB / 0.5203 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01768/0.4238, allocations: 10.94 MB / 0.531 GB, free: 3.586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.698e-05/0.4238, allocations: 24.22 kB / 0.531 GB, free: 3.562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008472/0.4247, allocations: 231.5 kB / 0.5313 GB, free: 3.336 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.898e-05/0.4247, allocations: 28 kB / 0.5313 GB, free: 3.309 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-05/0.4248, allocations: 55.98 kB / 0.5313 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.529e-05/0.4248, allocations: 39.86 kB / 0.5314 GB, free: 3.215 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.314e-05/0.4248, allocations: 31.88 kB / 0.5314 GB, free: 3.184 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003558/0.4284, allocations: 2.683 MB / 0.534 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1814/0.6098, allocations: 256.3 kB / 0.5343 GB, free: 96.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004292/0.6103, allocations: 50.3 kB / 0.5343 GB, free: 96.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.6114, allocations: 67.03 kB / 0.5344 GB, free: 96.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003358/0.6117, allocations: 150.1 kB / 0.5345 GB, free: 96.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001803/0.6119, allocations: 59.64 kB / 0.5346 GB, free: 96.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001744/0.6136, allocations: 0.9092 MB / 0.5355 GB, free: 96.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6136, allocations: 0 / 0.5355 GB, free: 96.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002588/0.6162, allocations: 0.8793 MB / 0.5363 GB, free: 96.87 MB / 446.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.003402/0.6196, allocations: 3.314 MB / 0.5396 GB, free: 95.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002661/0.6223, allocations: 1.844 MB / 0.5414 GB, free: 94.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/0.6223, allocations: 6.469 kB / 0.5414 GB, free: 94.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007727/0.6231, allocations: 0.6203 MB / 0.542 GB, free: 94.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.625, allocations: 330.5 kB / 0.5423 GB, free: 94.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/0.6451, allocations: 18.61 MB / 0.5605 GB, free: 80.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002157/0.6472, allocations: 2.256 MB / 0.5627 GB, free: 78.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001469/0.6487, allocations: 0.769 MB / 0.5634 GB, free: 77.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/0.6498, allocations: 1.151 MB / 0.5646 GB, free: 76.71 MB / 446.1 MB Notification: Performance of SimCode: time 1.242e-06/0.6498, allocations: 0 / 0.5646 GB, free: 76.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06514/0.715, allocations: 40.46 MB / 0.6041 GB, free: 36.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.64, allocations: 15.28 kB / 0.6041 GB, free: 36.57 MB / 446.1 MB " [Timeout remaining time 647] (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: 15.128047450911254]