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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 122.3 kB / 18.45 MB, free: 4.605 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.001276/0.001276, allocations: 190.9 kB / 21.39 MB, free: 1.672 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.421/1.421, allocations: 207.6 MB / 231.8 MB, free: 4.094 MB / 174.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.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"}) [Timeout 660] "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.001655/0.001655, allocations: 51.92 kB / 342.3 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1144, allocations: 49.11 MB / 391.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01454/0.129, allocations: 10.13 MB / 401.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007981/0.137, allocations: 2.838 MB / 404.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/0.1388, allocations: 63.81 kB / 404.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009795/0.1486, allocations: 4.236 MB / 408.6 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0041/0.1527, allocations: 1.045 MB / 409.7 MB, free: 6.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.1549, allocations: 0.8453 MB / 410.5 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005958/0.1608, allocations: 4.28 MB / 414.8 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01179/0.1726, allocations: 8.529 MB / 423.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003474/0.1761, allocations: 2.466 MB / 425.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005071/0.1812, allocations: 2.799 MB / 428.6 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001312/0.1825, allocations: 0.6797 MB / 429.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002318/0.1848, allocations: 0.8904 MB / 430.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001374/0.1862, allocations: 1.321 MB / 431.5 MB, free: 396 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003553/0.1897, allocations: 2.673 MB / 434.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.2011, allocations: 9.096 MB / 443.3 MB, free: 4.578 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.2011, allocations: 0 / 443.3 MB, free: 4.578 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2011, allocations: 4 kB / 443.3 MB, free: 4.574 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002607/0.2013, allocations: 0 / 443.3 MB, free: 4.574 MB / 366.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.01681/0.2182, allocations: 5.669 MB / 448.9 MB, free: 14.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.2182, allocations: 12.03 kB / 448.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001248/0.2195, allocations: 0.6949 MB / 449.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01348/0.2329, allocations: 2.413 MB / 452.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005893/0.2388, allocations: 2.381 MB / 454.4 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003124/0.2391, allocations: 365.9 kB / 454.8 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009651/0.2401, allocations: 480 kB / 455.3 MB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01224/0.2523, allocations: 6.643 MB / 461.9 MB, free: 1.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.196e-05/0.2524, allocations: 3.953 kB / 461.9 MB, free: 1.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004524/0.2529, allocations: 200 kB / 462.1 MB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000222/0.2531, allocations: 230.1 kB / 462.3 MB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1863/0.4394, allocations: 6.107 MB / 468.4 MB, free: 57.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03154/0.4709, allocations: 22.42 MB / 490.9 MB, free: 43.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006908/0.4778, allocations: 10.67 MB / 0.4898 GB, free: 32.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009539/0.4788, allocations: 0.7426 MB / 0.4905 GB, free: 31.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004293/0.4831, allocations: 3.401 MB / 0.4938 GB, free: 29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.4831, allocations: 37.28 kB / 0.4939 GB, free: 28.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.004e-06/0.4831, allocations: 0 / 0.4939 GB, free: 28.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.000454/0.4836, allocations: 232.7 kB / 0.4941 GB, free: 28.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.4836, allocations: 55.41 kB / 0.4941 GB, free: 28.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002327/0.4859, allocations: 2.14 MB / 0.4962 GB, free: 26.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.4859, allocations: 28 kB / 0.4962 GB, free: 26.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008443/0.4868, allocations: 2.481 MB / 0.4987 GB, free: 24.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.4868, allocations: 75.73 kB / 0.4987 GB, free: 24.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005578/0.4874, allocations: 0.5511 MB / 0.4993 GB, free: 23.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.673e-05/0.4875, allocations: 355.6 kB / 0.4996 GB, free: 23.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008476/0.4883, allocations: 0.8127 MB / 0.5004 GB, free: 22.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/0.4895, allocations: 2.234 MB / 0.5026 GB, free: 19.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001942/0.4915, allocations: 2.965 MB / 0.5055 GB, free: 15.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.976e-05/0.4915, allocations: 15.94 kB / 0.5055 GB, free: 15.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.003445/0.495, allocations: 3.024 MB / 0.5085 GB, free: 12.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.495, allocations: 31.98 kB / 0.5085 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.75e-05/0.495, allocations: 48 kB / 0.5085 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.683e-05/0.4951, allocations: 68.78 kB / 0.5086 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.4965, allocations: 0.5654 MB / 0.5091 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-05/0.4966, allocations: 107.6 kB / 0.5093 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/0.4983, allocations: 405.3 kB / 0.5096 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.4985, allocations: 144 kB / 0.5098 GB, free: 11.41 MB / 382.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.002074/0.5005, allocations: 1.738 MB / 0.5115 GB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/0.5008, allocations: 139.1 kB / 0.5116 GB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003964/0.5012, allocations: 246.7 kB / 0.5118 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.773e-05/0.5012, allocations: 93.61 kB / 0.5119 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5013, allocations: 3.5 kB / 0.5119 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.5013, allocations: 2.344 kB / 0.5119 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004108/0.5054, allocations: 3.052 MB / 0.5149 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5054, allocations: 0 / 0.5149 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.628e-05/0.5054, allocations: 12 kB / 0.5149 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.5054, allocations: 4.031 kB / 0.5149 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.5055, allocations: 0 / 0.5149 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.5055, allocations: 0 / 0.5149 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5055, allocations: 4 kB / 0.5149 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.5058, allocations: 375 kB / 0.5153 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003516/0.5061, allocations: 228.6 kB / 0.5155 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.5063, allocations: 4 kB / 0.5155 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005018/0.5068, allocations: 40.02 kB / 0.5156 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.5068, allocations: 3.938 kB / 0.5156 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.5068, allocations: 4 kB / 0.5156 GB, free: 5.375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001377/0.5082, allocations: 1.4 MB / 0.5169 GB, free: 3.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5082, allocations: 0 / 0.5169 GB, free: 3.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002568/0.5108, allocations: 0.9997 MB / 0.5179 GB, free: 2.977 MB / 382.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.0007559/0.5115, allocations: 0.9662 MB / 0.5188 GB, free: 1.988 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001957/0.5135, allocations: 1.395 MB / 0.5202 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5135, allocations: 8 kB / 0.5202 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.759e-05/0.5135, allocations: 27.98 kB / 0.5202 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.515, allocations: 334.7 kB / 0.5206 GB, free: 252 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03145/0.5464, allocations: 19.29 MB / 0.5394 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003547/0.55, allocations: 3.14 MB / 0.5425 GB, free: 8.129 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00196/0.5519, allocations: 0.7944 MB / 0.5432 GB, free: 7.328 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001747/0.5537, allocations: 1.319 MB / 0.5445 GB, free: 6.008 MB / 414.1 MB Notification: Performance of SimCode: time 1.252e-06/0.5537, allocations: 0 / 0.5445 GB, free: 6.008 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1153/0.6689, allocations: 43.72 MB / 0.5872 GB, free: 10.16 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/11.13, allocations: 15.89 kB / 0.5872 GB, free: 10.15 MB / 462.1 MB " [Timeout remaining time 649] (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_2/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_2/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: 13.787065085954964]