Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 108.6 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 39.94 kB / 371.2 MB, free: 9.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2699, allocations: 52.19 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.0118/0.2817, allocations: 9.795 MB / 433.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005804/0.2875, allocations: 2.713 MB / 435.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.2889, allocations: 91.56 kB / 436 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009692/0.2986, allocations: 4.233 MB / 440.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003775/0.3024, allocations: 0.9455 MB / 441.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002537/0.3049, allocations: 0.8326 MB / 442 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005782/0.3107, allocations: 4.089 MB / 446.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01336/0.3241, allocations: 7.114 MB / 453.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004141/0.3282, allocations: 2.416 MB / 455.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004483/0.3327, allocations: 2.655 MB / 458.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001621/0.3343, allocations: 0.6641 MB / 459 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002533/0.3368, allocations: 0.8709 MB / 459.8 MB, free: 9.973 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001866/0.3387, allocations: 1.243 MB / 461.1 MB, free: 8.727 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004157/0.3429, allocations: 2.564 MB / 463.7 MB, free: 6.152 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01059/0.3534, allocations: 8.909 MB / 472.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3535, allocations: 0 / 472.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3535, allocations: 0 / 472.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002204/0.3537, allocations: 0 / 472.6 MB, free: 13.21 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01493/0.3686, allocations: 5.331 MB / 477.9 MB, free: 7.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.3687, allocations: 12.03 kB / 477.9 MB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001479/0.3688, allocations: 125.6 kB / 478 MB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002056/0.3709, allocations: 0.6577 MB / 478.7 MB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008098/0.379, allocations: 1.321 MB / 480 MB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006171/0.3851, allocations: 2.602 MB / 482.6 MB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004631/0.3856, allocations: 349.4 kB / 483 MB, free: 2.711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001686/0.3873, allocations: 452 kB / 483.4 MB, free: 2.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01645/0.4037, allocations: 6.09 MB / 489.5 MB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002014/0.4039, allocations: 7.953 kB / 489.5 MB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001404/0.4053, allocations: 192 kB / 489.7 MB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000225/0.4056, allocations: 193.5 kB / 489.9 MB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/0.4169, allocations: 5.276 MB / 495.1 MB, free: 6.461 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03644/0.4534, allocations: 20.21 MB / 0.5033 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005425/0.4588, allocations: 2.113 MB / 0.5053 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.46, allocations: 0.6001 MB / 0.5059 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.4601, allocations: 32.95 kB / 0.506 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.4601, allocations: 39.56 kB / 0.506 GB, free: 14.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 4.098e-06/0.4602, allocations: 0 / 0.506 GB, free: 14.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002811/0.463, allocations: 1.429 MB / 0.5074 GB, free: 13.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.4631, allocations: 64.41 kB / 0.5074 GB, free: 13.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003499/0.4666, allocations: 1.462 MB / 0.5089 GB, free: 11.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.795e-05/0.4667, allocations: 49.58 kB / 0.5089 GB, free: 11.85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002047/0.4687, allocations: 2.045 MB / 0.5109 GB, free: 9.781 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004235/0.4691, allocations: 369 kB / 0.5113 GB, free: 9.418 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008674/0.47, allocations: 475.9 kB / 0.5117 GB, free: 8.945 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.4702, allocations: 353.9 kB / 0.5121 GB, free: 8.594 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.4716, allocations: 0.8085 MB / 0.5129 GB, free: 7.781 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002483/0.4741, allocations: 1.941 MB / 0.5147 GB, free: 5.285 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00385/0.4779, allocations: 2.92 MB / 0.5176 GB, free: 1.816 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.59e-05/0.478, allocations: 12 kB / 0.5176 GB, free: 1.805 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004837/0.4828, allocations: 2.797 MB / 0.5203 GB, free: 15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/0.4828, allocations: 20 kB / 0.5204 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.033e-05/0.4829, allocations: 40 kB / 0.5204 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.326e-05/0.483, allocations: 52.78 kB / 0.5205 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/0.4847, allocations: 0.5459 MB / 0.521 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.13e-05/0.4847, allocations: 75.72 kB / 0.5211 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.4862, allocations: 294 kB / 0.5213 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/0.4863, allocations: 124 kB / 0.5215 GB, free: 13.86 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (282): * Single equations (assignments): 281 * 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.002544/0.4889, allocations: 1.668 MB / 0.5231 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003437/0.4892, allocations: 139.1 kB / 0.5232 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/0.4916, allocations: 1.342 MB / 0.5245 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001359/0.4929, allocations: 0.9318 MB / 0.5254 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4929, allocations: 0 / 0.5254 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.4929, allocations: 3.984 kB / 0.5254 GB, free: 9.742 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01744/0.5104, allocations: 11.01 MB / 0.5362 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.433e-05/0.5104, allocations: 20 kB / 0.5362 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008052/0.5112, allocations: 219.6 kB / 0.5364 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.132e-05/0.5113, allocations: 28 kB / 0.5364 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.5114, allocations: 47.92 kB / 0.5365 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.227e-05/0.5114, allocations: 39.86 kB / 0.5365 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.108e-05/0.5114, allocations: 27.88 kB / 0.5366 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003421/0.5149, allocations: 2.455 MB / 0.539 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007175/0.5156, allocations: 262.7 kB / 0.5392 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003297/0.5159, allocations: 47.97 kB / 0.5392 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000948/0.5169, allocations: 59.95 kB / 0.5393 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/0.5171, allocations: 135.4 kB / 0.5394 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.42e-05/0.5171, allocations: 59.98 kB / 0.5395 GB, free: 10.74 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001877/0.519, allocations: 0.9877 MB / 0.5405 GB, free: 9.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.519, allocations: 0 / 0.5405 GB, free: 9.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003461/0.5225, allocations: 0.9569 MB / 0.5414 GB, free: 8.789 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * 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 (98): * Single equations (assignments): 97 * 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.004246/0.5267, allocations: 3.088 MB / 0.5444 GB, free: 5.414 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003231/0.53, allocations: 1.791 MB / 0.5462 GB, free: 3.625 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/0.53, allocations: 4.375 kB / 0.5462 GB, free: 3.621 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009035/0.5309, allocations: 0.5609 MB / 0.5467 GB, free: 3.062 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/0.5335, allocations: 384.9 kB / 0.5471 GB, free: 2.695 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2355/0.7691, allocations: 19.63 MB / 0.5662 GB, free: 111.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00221/0.7713, allocations: 3.076 MB / 0.5692 GB, free: 110 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001448/0.7727, allocations: 0.8106 MB / 0.57 GB, free: 109.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/0.7738, allocations: 1.253 MB / 0.5713 GB, free: 108.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.042e-06/0.7738, allocations: 0 / 0.5713 GB, free: 108.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06615/0.84, allocations: 45.03 MB / 0.6152 GB, free: 63.46 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/13.98, allocations: 19.92 kB / 0.6153 GB, free: 63.45 MB / 462.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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: 16.689694344007876]