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.001858/0.001858, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 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.002459/0.002459, allocations: 214.4 kB / 24.47 MB, free: 3.793 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.366/1.366, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.001888/0.001888, allocations: 54.59 kB / 347.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2302, allocations: 49.15 MB / 396.4 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.008393/0.2386, allocations: 8.798 MB / 405.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005083/0.2437, allocations: 2.727 MB / 407.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000881/0.2445, allocations: 76.09 kB / 407.9 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008351/0.2529, allocations: 3.908 MB / 411.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003061/0.256, allocations: 0.8882 MB / 412.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002205/0.2582, allocations: 0.9439 MB / 413.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004829/0.263, allocations: 4.316 MB / 418 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01009/0.2731, allocations: 7.119 MB / 425.1 MB, free: 6.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003794/0.2769, allocations: 2.515 MB / 427.6 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004561/0.2814, allocations: 2.69 MB / 430.3 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001112/0.2826, allocations: 0.6797 MB / 431 MB, free: 312 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001956/0.2845, allocations: 0.8865 MB / 431.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001179/0.2857, allocations: 1.321 MB / 433.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002966/0.2887, allocations: 2.078 MB / 435.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.2991, allocations: 9.153 MB / 444.4 MB, free: 2.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-05/0.2991, allocations: 0 / 444.4 MB, free: 2.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2991, allocations: 0 / 444.4 MB, free: 2.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001585/0.2992, allocations: 0 / 444.4 MB, free: 2.828 MB / 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.01265/0.3119, allocations: 5.594 MB / 450 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3119, allocations: 15.98 kB / 450.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00101/0.3129, allocations: 0.6911 MB / 450.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01356/0.3265, allocations: 2.409 MB / 453.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005027/0.3315, allocations: 2.375 MB / 455.5 MB, free: 7.641 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003021/0.3318, allocations: 365.9 kB / 455.9 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009307/0.3328, allocations: 476 kB / 456.4 MB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01156/0.3443, allocations: 6.669 MB / 463 MB, free: 108 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.76e-05/0.3444, allocations: 11.95 kB / 463 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004632/0.3449, allocations: 200 kB / 463.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002267/0.3451, allocations: 230.1 kB / 463.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.3555, allocations: 6.094 MB / 469.5 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0306/0.3861, allocations: 19.82 MB / 489.4 MB, free: 5.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007311/0.3934, allocations: 3.031 MB / 492.4 MB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.3945, allocations: 0.7329 MB / 493.1 MB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004389/0.3989, allocations: 1.983 MB / 495.1 MB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.3989, allocations: 34.56 kB / 495.2 MB, free: 15.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 2.023e-06/0.3989, allocations: 0 / 495.2 MB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004493/0.3994, allocations: 232.9 kB / 495.4 MB, free: 15.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.3994, allocations: 67.28 kB / 495.4 MB, free: 15.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002913/0.4023, allocations: 2.249 MB / 497.7 MB, free: 12.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.4023, allocations: 25.7 kB / 497.7 MB, free: 12.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001639/0.404, allocations: 2.478 MB / 0.4885 GB, free: 10.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.001e-05/0.404, allocations: 79.73 kB / 0.4885 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007198/0.4048, allocations: 0.5472 MB / 0.4891 GB, free: 9.742 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.4049, allocations: 357.9 kB / 0.4894 GB, free: 9.387 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.4061, allocations: 0.8089 MB / 0.4902 GB, free: 8.574 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00233/0.4084, allocations: 2.239 MB / 0.4924 GB, free: 5.621 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003263/0.4117, allocations: 2.96 MB / 0.4953 GB, free: 1.953 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.339e-05/0.4117, allocations: 16 kB / 0.4953 GB, free: 1.938 MB / 414.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.004534/0.4163, allocations: 3.024 MB / 0.4983 GB, free: 14.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.136e-05/0.4163, allocations: 28 kB / 0.4983 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.237e-05/0.4164, allocations: 48 kB / 0.4983 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.062e-05/0.4164, allocations: 68 kB / 0.4984 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.4181, allocations: 0.577 MB / 0.499 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.31e-05/0.4181, allocations: 100.3 kB / 0.4991 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/0.42, allocations: 409.3 kB / 0.4994 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001849/0.4202, allocations: 144 kB / 0.4996 GB, free: 13.55 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.002373/0.4225, allocations: 1.73 MB / 0.5013 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.4228, allocations: 139.1 kB / 0.5014 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004227/0.4232, allocations: 247 kB / 0.5016 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001251/0.4233, allocations: 105.5 kB / 0.5017 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4233, allocations: 0 / 0.5017 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.4233, allocations: 0 / 0.5017 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004675/0.428, allocations: 2.981 MB / 0.5047 GB, free: 8.277 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.428, allocations: 4 kB / 0.5047 GB, free: 8.273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.979e-05/0.4281, allocations: 15.88 kB / 0.5047 GB, free: 8.258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.4281, allocations: 0 / 0.5047 GB, free: 8.258 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.4281, allocations: 8 kB / 0.5047 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.4281, allocations: 0 / 0.5047 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4281, allocations: 0 / 0.5047 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004428/0.4285, allocations: 379.1 kB / 0.505 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003558/0.4289, allocations: 155.1 kB / 0.5052 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.429, allocations: 4 kB / 0.5052 GB, free: 7.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004644/0.4295, allocations: 27.95 kB / 0.5052 GB, free: 7.676 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.4295, allocations: 7.984 kB / 0.5052 GB, free: 7.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.4295, allocations: 4 kB / 0.5052 GB, free: 7.664 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001899/0.4314, allocations: 1.396 MB / 0.5066 GB, free: 6.273 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4314, allocations: 0 / 0.5066 GB, free: 6.273 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00242/0.4338, allocations: 0.9996 MB / 0.5076 GB, free: 5.27 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.0009081/0.4348, allocations: 0.9506 MB / 0.5085 GB, free: 4.285 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002146/0.4369, allocations: 1.394 MB / 0.5099 GB, free: 2.898 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4369, allocations: 5.875 kB / 0.5099 GB, free: 2.895 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.048e-05/0.437, allocations: 35.98 kB / 0.5099 GB, free: 2.859 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.4385, allocations: 333.7 kB / 0.5102 GB, free: 2.531 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02749/0.466, allocations: 19.29 MB / 0.5291 GB, free: 13.56 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004144/0.4701, allocations: 2.594 MB / 0.5316 GB, free: 10.93 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001947/0.4721, allocations: 0.7906 MB / 0.5324 GB, free: 10.13 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001826/0.4739, allocations: 1.323 MB / 0.5337 GB, free: 8.805 MB / 462.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4739, allocations: 0 / 0.5337 GB, free: 8.805 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2465/0.7204, allocations: 44.35 MB / 0.577 GB, free: 141.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.06, allocations: 0.6562 kB / 0.577 GB, free: 141.3 MB / 478.1 MB " [Timeout remaining time 647] (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: 15.4572329306975]