Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001698/0.001698, allocations: 116 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00262/0.002621, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 60.17 kB / 306.6 MB, free: 0.8555 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0907/0.09204, allocations: 50.54 MB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01064/0.1027, allocations: 9.611 MB / 366.7 MB, free: 4.664 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005626/0.1084, allocations: 2.721 MB / 369.4 MB, free: 1.934 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001507/0.1099, allocations: 71.81 kB / 369.5 MB, free: 1.863 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1694/0.2793, allocations: 3.971 MB / 373.5 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002667/0.282, allocations: 0.6667 MB / 374.1 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.2837, allocations: 0.8915 MB / 375 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003447/0.2871, allocations: 4.019 MB / 379 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01241/0.2996, allocations: 12.73 MB / 391.8 MB, free: 3.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002767/0.3023, allocations: 2.385 MB / 394.2 MB, free: 1.875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002458/0.3048, allocations: 2.661 MB / 396.8 MB, free: 0.582 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007564/0.3056, allocations: 0.6658 MB / 397.5 MB, free: 436 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002336/0.3079, allocations: 0.9982 MB / 398.5 MB, free: 15.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009167/0.3089, allocations: 1.246 MB / 399.7 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002452/0.3113, allocations: 2.564 MB / 402.3 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007304/0.3186, allocations: 8.865 MB / 411.2 MB, free: 3.844 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3187, allocations: 0 / 411.2 MB, free: 3.844 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3187, allocations: 0 / 411.2 MB, free: 3.844 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001432/0.3188, allocations: 0 / 411.2 MB, free: 3.844 MB / 318.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.01345/0.3323, allocations: 5.334 MB / 416.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.3323, allocations: 8.031 kB / 416.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009874/0.3333, allocations: 0.6578 MB / 417.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00714/0.3405, allocations: 1.321 MB / 418.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00381/0.3443, allocations: 2.51 MB / 421 MB, free: 9.945 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002338/0.3446, allocations: 348.2 kB / 421.3 MB, free: 9.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006249/0.3452, allocations: 451.9 kB / 421.8 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009575/0.3548, allocations: 6.115 MB / 427.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.328e-05/0.3549, allocations: 3.984 kB / 427.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004938/0.3554, allocations: 190.7 kB / 428.1 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001616/0.3555, allocations: 201.4 kB / 428.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008678/0.3642, allocations: 5.288 MB / 433.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03355/0.3978, allocations: 21.26 MB / 454.8 MB, free: 7.461 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007093/0.4049, allocations: 5.615 MB / 460.4 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/0.4061, allocations: 0.7019 MB / 461.1 MB, free: 396 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003174/0.4065, allocations: 199.4 kB / 461.3 MB, free: 160 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.4065, allocations: 47.5 kB / 461.4 MB, free: 104 kB / 366.1 MB Notification: Performance of pre-optimization done (n=100): time 3.246e-06/0.4065, allocations: 0 / 461.4 MB, free: 104 kB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.002411/0.4089, allocations: 1.545 MB / 462.9 MB, free: 14.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.132e-05/0.4091, allocations: 64.41 kB / 463 MB, free: 14.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002344/0.4114, allocations: 1.461 MB / 464.4 MB, free: 13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.456e-05/0.4115, allocations: 37.7 kB / 464.5 MB, free: 12.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001582/0.4131, allocations: 1.957 MB / 466.4 MB, free: 10.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000395/0.4135, allocations: 367.7 kB / 466.8 MB, free: 10.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000796/0.4143, allocations: 479.7 kB / 467.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.4145, allocations: 349.9 kB / 467.6 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.4157, allocations: 0.8553 MB / 468.5 MB, free: 8.949 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/0.418, allocations: 1.98 MB / 470.4 MB, free: 6.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003904/0.4219, allocations: 2.998 MB / 473.4 MB, free: 2.871 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-05/0.4219, allocations: 12 kB / 473.5 MB, free: 2.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.004419/0.4263, allocations: 2.867 MB / 476.3 MB, free: 15.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.718e-05/0.4264, allocations: 28.16 kB / 476.3 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.397e-05/0.4265, allocations: 43.94 kB / 476.4 MB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.203e-05/0.4266, allocations: 56 kB / 476.4 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/0.4282, allocations: 0.5342 MB / 477 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.331e-05/0.4283, allocations: 79.66 kB / 477.1 MB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.4296, allocations: 297.1 kB / 477.3 MB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/0.4298, allocations: 124 kB / 477.5 MB, free: 14.83 MB / 398.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 (285): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.002275/0.4321, allocations: 1.664 MB / 479.1 MB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002528/0.4323, allocations: 138.2 kB / 479.3 MB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/0.4345, allocations: 1.42 MB / 480.7 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001353/0.4359, allocations: 1.014 MB / 481.7 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.4359, allocations: 0 / 481.7 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.4359, allocations: 7.922 kB / 481.7 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01682/0.4527, allocations: 13.53 MB / 495.2 MB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.173e-05/0.4528, allocations: 24.03 kB / 495.3 MB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007418/0.4535, allocations: 207.6 kB / 495.5 MB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-05/0.4536, allocations: 24 kB / 495.5 MB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-05/0.4537, allocations: 51.98 kB / 495.5 MB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.969e-05/0.4537, allocations: 39.8 kB / 495.6 MB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.782e-05/0.4537, allocations: 31.88 kB / 495.6 MB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003339/0.4571, allocations: 2.584 MB / 498.2 MB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000684/0.4578, allocations: 323.2 kB / 498.5 MB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002848/0.4581, allocations: 51.88 kB / 498.6 MB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008197/0.4589, allocations: 59.95 kB / 498.6 MB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.4591, allocations: 139.4 kB / 498.8 MB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.077e-05/0.4592, allocations: 51.98 kB / 498.8 MB, free: 8.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001805/0.461, allocations: 1.003 MB / 499.8 MB, free: 7.242 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.461, allocations: 0 / 499.8 MB, free: 7.242 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002975/0.464, allocations: 0.9399 MB / 0.489 GB, free: 6.297 MB / 414.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 (101): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.003817/0.4678, allocations: 3.216 MB / 0.4921 GB, free: 2.801 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003086/0.4709, allocations: 1.959 MB / 0.4941 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/0.471, allocations: 4.875 kB / 0.4941 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008839/0.4718, allocations: 0.6189 MB / 0.4947 GB, free: 232 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/0.4743, allocations: 394.7 kB / 0.495 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03268/0.507, allocations: 22.24 MB / 0.5168 GB, free: 7.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004302/0.5113, allocations: 3.067 MB / 0.5198 GB, free: 4.473 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002163/0.5135, allocations: 0.8132 MB / 0.5206 GB, free: 3.652 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002033/0.5156, allocations: 1.265 MB / 0.5218 GB, free: 2.387 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5156, allocations: 0 / 0.5218 GB, free: 2.387 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2507/0.7663, allocations: 41.95 MB / 0.5628 GB, free: 123.9 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000136/0.7664, allocations: 225.6 kB / 0.563 GB, free: 123.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.41/3.177, allocations: 0 / 0.563 GB, free: 123.6 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches