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.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.007577/0.007577, allocations: 110.9 kB / 21.97 MB, free: 5.25 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.001635/0.001635, allocations: 206.5 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] 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.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.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 58.89 kB / 348 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.247, allocations: 49.15 MB / 397.1 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.009056/0.256, allocations: 10.14 MB / 407.3 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005271/0.2613, allocations: 2.842 MB / 410.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009341/0.2622, allocations: 76.72 kB / 410.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008798/0.271, allocations: 4.244 MB / 414.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003635/0.2746, allocations: 0.912 MB / 415.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002365/0.277, allocations: 0.9921 MB / 416.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005305/0.2823, allocations: 4.314 MB / 420.7 MB, free: 8.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01069/0.293, allocations: 7.189 MB / 427.9 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003845/0.2968, allocations: 2.511 MB / 430.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004495/0.3013, allocations: 2.803 MB / 433.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001066/0.3024, allocations: 0.6797 MB / 433.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.3043, allocations: 0.8943 MB / 434.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001243/0.3056, allocations: 1.321 MB / 436.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003146/0.3087, allocations: 2.673 MB / 438.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01024/0.319, allocations: 9.108 MB / 447.8 MB, free: 396 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.319, allocations: 0 / 447.8 MB, free: 396 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.319, allocations: 0 / 447.8 MB, free: 396 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002265/0.3192, allocations: 0 / 447.8 MB, free: 396 kB / 350.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.01522/0.3344, allocations: 5.597 MB / 453.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.3345, allocations: 11.98 kB / 453.5 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001635/0.3346, allocations: 130.1 kB / 453.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001408/0.336, allocations: 0.6911 MB / 454.3 MB, free: 9.895 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01355/0.3496, allocations: 2.413 MB / 456.7 MB, free: 7.477 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005186/0.3548, allocations: 2.375 MB / 459.1 MB, free: 5.066 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003477/0.3551, allocations: 365.9 kB / 459.4 MB, free: 4.707 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001198/0.3563, allocations: 480 kB / 459.9 MB, free: 4.238 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01275/0.3691, allocations: 6.636 MB / 466.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.795e-05/0.3692, allocations: 7.953 kB / 466.5 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004699/0.3696, allocations: 200 kB / 466.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002375/0.3699, allocations: 234.1 kB / 467 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01118/0.381, allocations: 6.114 MB / 473.1 MB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03641/0.4175, allocations: 21.54 MB / 494.6 MB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007639/0.4251, allocations: 3.098 MB / 497.7 MB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/0.4264, allocations: 0.7368 MB / 498.4 MB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004998/0.4314, allocations: 2.115 MB / 0.4888 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.4314, allocations: 34.56 kB / 0.4889 GB, free: 10.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 2.634e-06/0.4314, allocations: 0 / 0.4889 GB, free: 10.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005916/0.432, allocations: 244.6 kB / 0.4891 GB, free: 10.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.4321, allocations: 55.41 kB / 0.4891 GB, free: 10.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003297/0.4354, allocations: 2.141 MB / 0.4912 GB, free: 8.531 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.4354, allocations: 25.7 kB / 0.4913 GB, free: 8.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001767/0.4372, allocations: 2.478 MB / 0.4937 GB, free: 5.996 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.699e-05/0.4373, allocations: 75.73 kB / 0.4938 GB, free: 5.922 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008215/0.4381, allocations: 0.5511 MB / 0.4943 GB, free: 5.363 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.4383, allocations: 353.9 kB / 0.4946 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.4395, allocations: 0.8127 MB / 0.4954 GB, free: 4.195 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002377/0.4419, allocations: 2.231 MB / 0.4976 GB, free: 1.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003494/0.4454, allocations: 2.968 MB / 0.5005 GB, free: 13.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.43e-05/0.4454, allocations: 12 kB / 0.5005 GB, free: 13.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.004885/0.4503, allocations: 3.016 MB / 0.5035 GB, free: 10.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.897e-05/0.4504, allocations: 31.98 kB / 0.5035 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.04e-05/0.4504, allocations: 48 kB / 0.5035 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.637e-05/0.4505, allocations: 72.66 kB / 0.5036 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/0.4522, allocations: 0.5693 MB / 0.5042 GB, free: 9.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000104/0.4523, allocations: 103.6 kB / 0.5043 GB, free: 9.719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/0.4543, allocations: 413.2 kB / 0.5047 GB, free: 9.312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002129/0.4545, allocations: 144 kB / 0.5048 GB, free: 9.172 MB / 430.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 (307): * Single equations (assignments): 306 * 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.002486/0.457, allocations: 1.726 MB / 0.5065 GB, free: 7.434 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002692/0.4573, allocations: 139.1 kB / 0.5066 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004796/0.4577, allocations: 254.9 kB / 0.5068 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001182/0.4579, allocations: 93.66 kB / 0.5069 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4579, allocations: 0 / 0.5069 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4579, allocations: 0 / 0.5069 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00566/0.4635, allocations: 3.048 MB / 0.5099 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.4635, allocations: 3.938 kB / 0.5099 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.727e-05/0.4636, allocations: 11.98 kB / 0.5099 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.4636, allocations: 4.031 kB / 0.5099 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.4636, allocations: 4 kB / 0.5099 GB, free: 3.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.4636, allocations: 0 / 0.5099 GB, free: 3.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4636, allocations: 3.938 kB / 0.5099 GB, free: 3.816 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005203/0.4642, allocations: 379.1 kB / 0.5103 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004076/0.4646, allocations: 155.4 kB / 0.5105 GB, free: 3.273 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/0.4648, allocations: 4 kB / 0.5105 GB, free: 3.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005194/0.4653, allocations: 36.02 kB / 0.5105 GB, free: 3.234 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.4653, allocations: 4 kB / 0.5105 GB, free: 3.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.4653, allocations: 4 kB / 0.5105 GB, free: 3.227 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002093/0.4674, allocations: 1.4 MB / 0.5119 GB, free: 1.832 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4674, allocations: 0 / 0.5119 GB, free: 1.832 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002706/0.4701, allocations: 0.9958 MB / 0.5128 GB, free: 0.832 MB / 430.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 (7): * Single equations (assignments): 6 * 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.001001/0.4711, allocations: 0.9466 MB / 0.5138 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002381/0.4735, allocations: 1.399 MB / 0.5151 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.4735, allocations: 0 / 0.5151 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.729e-05/0.4736, allocations: 40.05 kB / 0.5152 GB, free: 14.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/0.4753, allocations: 325.7 kB / 0.5155 GB, free: 14.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03237/0.5077, allocations: 19.29 MB / 0.5343 GB, free: 9.121 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004291/0.512, allocations: 3.132 MB / 0.5374 GB, free: 5.961 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001935/0.5139, allocations: 0.7945 MB / 0.5382 GB, free: 5.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001882/0.5158, allocations: 1.319 MB / 0.5394 GB, free: 3.84 MB / 462.1 MB Notification: Performance of SimCode: time 1.303e-06/0.5158, allocations: 0 / 0.5394 GB, free: 3.84 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2977/0.8135, allocations: 45.76 MB / 0.5841 GB, free: 137.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.86, allocations: 17.86 kB / 0.5841 GB, free: 137.1 MB / 478.1 MB " [Timeout remaining time 646] (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 --stepSize=0.001 --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) [Timeout 52.5] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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.656232864013873]