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.001313/0.001313, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001336/0.001336, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.486/1.486, allocations: 207.6 MB / 235.3 MB, free: 9.996 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="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.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.001748/0.001748, allocations: 51.92 kB / 347.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2989, allocations: 49.15 MB / 396.3 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01057/0.3094, allocations: 10.15 MB / 406.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006757/0.3162, allocations: 2.842 MB / 409.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00235/0.3185, allocations: 76 kB / 409.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01052/0.3291, allocations: 4.248 MB / 413.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004587/0.3337, allocations: 0.9021 MB / 414.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002756/0.3364, allocations: 0.9879 MB / 415.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006613/0.343, allocations: 4.318 MB / 419.9 MB, free: 8.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01236/0.3554, allocations: 7.181 MB / 427.1 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004564/0.36, allocations: 2.516 MB / 429.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005044/0.365, allocations: 2.795 MB / 432.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001464/0.3665, allocations: 0.6797 MB / 433 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002612/0.3691, allocations: 0.8982 MB / 433.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001441/0.3705, allocations: 1.325 MB / 435.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003887/0.3744, allocations: 2.669 MB / 437.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01142/0.3858, allocations: 9.105 MB / 447 MB, free: 412 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3858, allocations: 0 / 447 MB, free: 412 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3858, allocations: 0 / 447 MB, free: 412 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002395/0.3861, allocations: 0 / 447 MB, free: 412 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.01517/0.4012, allocations: 5.605 MB / 452.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.4013, allocations: 11.98 kB / 452.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001645/0.4029, allocations: 0.6949 MB / 453.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01388/0.4168, allocations: 2.409 MB / 455.8 MB, free: 7.609 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005852/0.4227, allocations: 2.375 MB / 458.1 MB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003825/0.423, allocations: 365.9 kB / 458.5 MB, free: 4.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001721/0.4248, allocations: 476 kB / 459 MB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01581/0.4406, allocations: 6.64 MB / 465.6 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001177/0.4407, allocations: 11.95 kB / 465.6 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000669/0.4414, allocations: 196 kB / 465.8 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002497/0.4416, allocations: 234 kB / 466 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01267/0.4543, allocations: 6.114 MB / 472.1 MB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03845/0.4927, allocations: 21.55 MB / 493.7 MB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007273/0.5, allocations: 3.086 MB / 496.8 MB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.5013, allocations: 0.7407 MB / 497.5 MB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005563/0.5069, allocations: 2.111 MB / 499.6 MB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/0.5069, allocations: 38.5 kB / 499.7 MB, free: 11.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.046e-06/0.5069, allocations: 0 / 499.7 MB, free: 11.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006815/0.5076, allocations: 244.8 kB / 499.9 MB, free: 10.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.5077, allocations: 55.41 kB / 500 MB, free: 10.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003407/0.5111, allocations: 2.137 MB / 0.4903 GB, free: 8.664 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.5111, allocations: 25.7 kB / 0.4904 GB, free: 8.633 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002271/0.5134, allocations: 2.478 MB / 0.4928 GB, free: 6.129 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.5135, allocations: 75.73 kB / 0.4929 GB, free: 6.055 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008682/0.5144, allocations: 0.5511 MB / 0.4934 GB, free: 5.496 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.5146, allocations: 357.9 kB / 0.4937 GB, free: 5.141 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/0.5158, allocations: 0.8127 MB / 0.4945 GB, free: 4.324 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002493/0.5183, allocations: 2.239 MB / 0.4967 GB, free: 1.371 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003549/0.5218, allocations: 2.96 MB / 0.4996 GB, free: 13.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.832e-05/0.5219, allocations: 12 kB / 0.4996 GB, free: 13.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.00523/0.5271, allocations: 3.017 MB / 0.5026 GB, free: 10.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.456e-05/0.5272, allocations: 28 kB / 0.5026 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.915e-05/0.5272, allocations: 56.12 kB / 0.5026 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.364e-05/0.5273, allocations: 67.94 kB / 0.5027 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/0.529, allocations: 0.5732 MB / 0.5033 GB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.614e-05/0.5291, allocations: 99.64 kB / 0.5034 GB, free: 9.848 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/0.531, allocations: 409.2 kB / 0.5038 GB, free: 9.445 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001961/0.5312, allocations: 148 kB / 0.5039 GB, free: 9.301 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.002691/0.5339, allocations: 1.73 MB / 0.5056 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/0.5342, allocations: 139.1 kB / 0.5057 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004541/0.5346, allocations: 251 kB / 0.506 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001218/0.5347, allocations: 89.61 kB / 0.506 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5347, allocations: 0 / 0.506 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.5347, allocations: 4 kB / 0.506 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004941/0.5397, allocations: 3.048 MB / 0.509 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.5397, allocations: 0 / 0.509 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.641e-05/0.5398, allocations: 11.98 kB / 0.509 GB, free: 3.961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/0.5398, allocations: 4 kB / 0.509 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.5398, allocations: 0 / 0.509 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.5398, allocations: 0 / 0.509 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5398, allocations: 3.938 kB / 0.509 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004936/0.5403, allocations: 387.1 kB / 0.5094 GB, free: 3.555 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003869/0.5407, allocations: 159 kB / 0.5096 GB, free: 3.398 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.5408, allocations: 8 kB / 0.5096 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000453/0.5413, allocations: 23.97 kB / 0.5096 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.5413, allocations: 3.984 kB / 0.5096 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.5413, allocations: 4 kB / 0.5096 GB, free: 3.359 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001946/0.5433, allocations: 1.4 MB / 0.511 GB, free: 1.965 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5433, allocations: 0 / 0.511 GB, free: 1.965 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002662/0.5459, allocations: 0.9997 MB / 0.5119 GB, free: 0.9609 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.0009405/0.5469, allocations: 0.9429 MB / 0.5129 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002326/0.5492, allocations: 1.403 MB / 0.5142 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5492, allocations: 0 / 0.5142 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.833e-05/0.5493, allocations: 39.92 kB / 0.5143 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.5508, allocations: 329.9 kB / 0.5146 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03097/0.5818, allocations: 19.29 MB / 0.5334 GB, free: 9.25 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003347/0.5852, allocations: 3.136 MB / 0.5365 GB, free: 6.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001947/0.5871, allocations: 0.7906 MB / 0.5373 GB, free: 5.293 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001702/0.5888, allocations: 1.319 MB / 0.5385 GB, free: 3.973 MB / 462.1 MB Notification: Performance of SimCode: time 1.343e-06/0.5888, allocations: 0 / 0.5385 GB, free: 3.973 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2937/0.8825, allocations: 45.73 MB / 0.5832 GB, free: 137.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/14.1, allocations: 0 / 0.5832 GB, free: 137.2 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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.623427020997042]