Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 104.1 kB / 17.16 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.116/1.116, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 51.92 kB / 280.1 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06638/0.06739, allocations: 46.62 MB / 326.7 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.008644/0.07606, allocations: 9.949 MB / 336.6 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003536/0.07962, allocations: 2.796 MB / 339.4 MB, free: 7.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004055/0.08004, allocations: 63.81 kB / 339.5 MB, free: 7.918 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006551/0.0866, allocations: 3.989 MB / 343.5 MB, free: 3.914 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.08848, allocations: 0.941 MB / 344.4 MB, free: 2.969 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.08986, allocations: 0.7794 MB / 345.2 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003113/0.09298, allocations: 4.128 MB / 349.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009563/0.1026, allocations: 9.241 MB / 358.6 MB, free: 4.688 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001999/0.1046, allocations: 2.208 MB / 360.8 MB, free: 2.473 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002179/0.1068, allocations: 2.706 MB / 363.5 MB, free: 15.76 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005429/0.1073, allocations: 0.5234 MB / 364 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.1084, allocations: 0.7341 MB / 364.8 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007666/0.1092, allocations: 1.149 MB / 365.9 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001944/0.1112, allocations: 2.497 MB / 368.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005727/0.1169, allocations: 8.908 MB / 377.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1169, allocations: 4 kB / 377.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1169, allocations: 4 kB / 377.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001032/0.117, allocations: 0 / 377.3 MB, free: 1.898 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.1271/0.2442, allocations: 5.587 MB / 382.9 MB, free: 48.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2442, allocations: 13.81 kB / 382.9 MB, free: 48.05 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007576/0.245, allocations: 0.6918 MB / 383.6 MB, free: 47.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01194/0.2569, allocations: 2.388 MB / 386 MB, free: 47.3 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003001/0.2599, allocations: 2.381 MB / 388.4 MB, free: 45.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/0.2601, allocations: 364.1 kB / 388.7 MB, free: 45.7 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005839/0.2607, allocations: 476 kB / 389.2 MB, free: 45.55 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008535/0.2693, allocations: 6.665 MB / 395.9 MB, free: 41.71 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.473e-05/0.2694, allocations: 10.97 kB / 395.9 MB, free: 41.71 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003748/0.2698, allocations: 195.3 kB / 396.1 MB, free: 41.56 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/0.2699, allocations: 232 kB / 396.3 MB, free: 41.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00722/0.2771, allocations: 6.133 MB / 402.4 MB, free: 36.67 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0195/0.2966, allocations: 22.65 MB / 425.1 MB, free: 13.44 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006031/0.3027, allocations: 10.82 MB / 435.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008355/0.3036, allocations: 0.8578 MB / 436.8 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004113/0.3077, allocations: 3.515 MB / 440.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.3077, allocations: 38.55 kB / 440.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.693e-06/0.3077, allocations: 0 / 440.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004767/0.3082, allocations: 333.6 kB / 440.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.3082, allocations: 63.34 kB / 440.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002235/0.3105, allocations: 2.137 MB / 442.8 MB, free: 9.621 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.3105, allocations: 25.7 kB / 442.9 MB, free: 9.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001136/0.3116, allocations: 2.382 MB / 445.2 MB, free: 7.172 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.287e-05/0.3117, allocations: 87.41 kB / 445.3 MB, free: 7.086 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006103/0.3123, allocations: 0.5507 MB / 445.9 MB, free: 6.527 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3124, allocations: 357.9 kB / 446.2 MB, free: 6.172 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.3135, allocations: 0.8401 MB / 447.1 MB, free: 5.328 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/0.3152, allocations: 2.278 MB / 449.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0025/0.3177, allocations: 3.047 MB / 452.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/0.3177, allocations: 12 kB / 452.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.003731/0.3215, allocations: 3.096 MB / 455.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/0.3215, allocations: 27.98 kB / 455.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.183e-05/0.3216, allocations: 52 kB / 455.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.145e-05/0.3216, allocations: 68.75 kB / 455.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.323, allocations: 0.5654 MB / 456.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.055e-05/0.3231, allocations: 103.6 kB / 456.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.3246, allocations: 400.2 kB / 456.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/0.3248, allocations: 155.9 kB / 456.9 MB, free: 10.12 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * 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 (310): * Single equations (assignments): 306 * 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.002003/0.3268, allocations: 1.718 MB / 458.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.327, allocations: 134.2 kB / 458.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004161/0.3274, allocations: 324.3 kB / 459 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001779/0.3276, allocations: 169.5 kB / 459.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.3276, allocations: 0 / 459.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3276, allocations: 0 / 459.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00366/0.3313, allocations: 3.154 MB / 462.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3313, allocations: 0 / 462.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.353e-05/0.3314, allocations: 16.02 kB / 462.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3314, allocations: 4 kB / 462.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3314, allocations: 4 kB / 462.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3314, allocations: 0 / 462.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3314, allocations: 4 kB / 462.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004791/0.3319, allocations: 496.8 kB / 462.8 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002424/0.3322, allocations: 227.4 kB / 463.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.3323, allocations: 8 kB / 463.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003968/0.3327, allocations: 27.97 kB / 463.1 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.3327, allocations: 7.984 kB / 463.1 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.3327, allocations: 4 kB / 463.1 MB, free: 3.738 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001508/0.3343, allocations: 1.404 MB / 464.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3343, allocations: 0 / 464.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002008/0.3363, allocations: 0.9889 MB / 465.5 MB, free: 1.348 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 6 * 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.0007867/0.3371, allocations: 1.072 MB / 466.6 MB, free: 256 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.3388, allocations: 1.544 MB / 468.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3388, allocations: 0 / 468.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.327e-05/0.3389, allocations: 83.84 kB / 468.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.3402, allocations: 319.4 kB / 468.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02198/0.3622, allocations: 22.06 MB / 490.6 MB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002476/0.3647, allocations: 3.136 MB / 493.7 MB, free: 3.188 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001772/0.3665, allocations: 0.7906 MB / 494.5 MB, free: 2.391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/0.3677, allocations: 1.319 MB / 495.8 MB, free: 1.07 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3677, allocations: 0 / 495.8 MB, free: 1.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.174/2.542, allocations: 41.99 MB / 0.5252 GB, free: 6.984 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003115/2.542, allocations: 223.3 kB / 0.5254 GB, free: 6.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.882/5.424, allocations: 0 / 0.5254 GB, free: 6.73 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingStar/BalancingStar.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches