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.007082/0.007082, allocations: 99.48 kB / 21.96 MB, free: 5.211 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.001909/0.001909, allocations: 217.5 kB / 25.26 MB, free: 3.141 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.431/1.431, allocations: 207.7 MB / 236.1 MB, free: 9.949 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.002/0.002, allocations: 59.91 kB / 348 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2642, allocations: 49.16 MB / 397.1 MB, free: 8.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.008541/0.2728, allocations: 8.773 MB / 405.9 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005538/0.2783, allocations: 2.723 MB / 408.6 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.2794, allocations: 75.84 kB / 408.7 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008314/0.2878, allocations: 3.91 MB / 412.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00389/0.2916, allocations: 0.9008 MB / 413.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002665/0.2943, allocations: 0.9398 MB / 414.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005791/0.3001, allocations: 4.316 MB / 418.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01281/0.3129, allocations: 7.186 MB / 426 MB, free: 6.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004317/0.3172, allocations: 2.509 MB / 428.5 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004962/0.3222, allocations: 2.807 MB / 431.3 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001627/0.3238, allocations: 0.6758 MB / 432 MB, free: 152 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003081/0.3269, allocations: 0.8943 MB / 432.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002159/0.3291, allocations: 1.321 MB / 434.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004183/0.3332, allocations: 2.074 MB / 436.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.3435, allocations: 9.152 MB / 445.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3435, allocations: 0 / 445.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3435, allocations: 3.938 kB / 445.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001905/0.3437, allocations: 0 / 445.4 MB, free: 2.664 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.01451/0.3582, allocations: 5.59 MB / 451 MB, free: 13.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.3583, allocations: 11.98 kB / 451 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001812/0.3584, allocations: 134.1 kB / 451.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001291/0.3597, allocations: 0.6989 MB / 451.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01328/0.373, allocations: 2.406 MB / 454.2 MB, free: 9.758 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005188/0.3782, allocations: 2.383 MB / 456.6 MB, free: 7.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003839/0.3786, allocations: 361.9 kB / 457 MB, free: 6.984 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001699/0.3803, allocations: 476 kB / 457.4 MB, free: 6.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01399/0.3943, allocations: 6.669 MB / 464.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.383e-05/0.3944, allocations: 3.953 kB / 464.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004939/0.3949, allocations: 200 kB / 464.3 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002434/0.3951, allocations: 234.1 kB / 464.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01247/0.4076, allocations: 6.114 MB / 470.7 MB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03462/0.4422, allocations: 19.83 MB / 490.5 MB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007085/0.4493, allocations: 3.031 MB / 493.5 MB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.4504, allocations: 0.7368 MB / 494.2 MB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00477/0.4552, allocations: 1.987 MB / 496.2 MB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.4553, allocations: 30.56 kB / 496.3 MB, free: 15.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.4553, allocations: 0 / 496.3 MB, free: 15.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005837/0.4558, allocations: 248.6 kB / 496.5 MB, free: 14.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.4559, allocations: 51.41 kB / 496.6 MB, free: 14.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003622/0.4595, allocations: 2.141 MB / 498.7 MB, free: 12.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.4595, allocations: 25.7 kB / 498.7 MB, free: 12.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001965/0.4615, allocations: 2.475 MB / 0.4894 GB, free: 10.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.4616, allocations: 75.72 kB / 0.4895 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009522/0.4626, allocations: 0.555 MB / 0.4901 GB, free: 9.527 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.4627, allocations: 357.9 kB / 0.4904 GB, free: 9.172 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.464, allocations: 0.8128 MB / 0.4912 GB, free: 8.355 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002475/0.4665, allocations: 2.235 MB / 0.4934 GB, free: 5.406 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003487/0.47, allocations: 2.964 MB / 0.4963 GB, free: 1.734 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.798e-05/0.47, allocations: 16 kB / 0.4963 GB, free: 1.719 MB / 414.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.005054/0.4751, allocations: 3.013 MB / 0.4992 GB, free: 14.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/0.4751, allocations: 31.94 kB / 0.4993 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.991e-05/0.4752, allocations: 52 kB / 0.4993 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001467/0.4754, allocations: 67.94 kB / 0.4994 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/0.4771, allocations: 0.5732 MB / 0.4999 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001023/0.4772, allocations: 95.66 kB / 0.5 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/0.4793, allocations: 417.6 kB / 0.5004 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002443/0.4795, allocations: 148 kB / 0.5006 GB, free: 13.33 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.002974/0.4825, allocations: 1.726 MB / 0.5023 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002822/0.4828, allocations: 139.1 kB / 0.5024 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004985/0.4833, allocations: 247 kB / 0.5026 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001281/0.4834, allocations: 93.61 kB / 0.5027 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4834, allocations: 0 / 0.5027 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4834, allocations: 4 kB / 0.5027 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006147/0.4896, allocations: 2.978 MB / 0.5056 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.4896, allocations: 7.969 kB / 0.5056 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.195e-05/0.4897, allocations: 12 kB / 0.5056 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4897, allocations: 3.938 kB / 0.5056 GB, free: 8.051 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.4897, allocations: 4 kB / 0.5056 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.4897, allocations: 4 kB / 0.5057 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.4897, allocations: 3.938 kB / 0.5057 GB, free: 8.039 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005102/0.4902, allocations: 375.2 kB / 0.506 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003959/0.4906, allocations: 159 kB / 0.5062 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/0.4908, allocations: 4.469 kB / 0.5062 GB, free: 7.492 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005511/0.4914, allocations: 27.95 kB / 0.5062 GB, free: 7.465 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.4914, allocations: 12 kB / 0.5062 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.4914, allocations: 4 kB / 0.5062 GB, free: 7.449 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002135/0.4936, allocations: 1.4 MB / 0.5076 GB, free: 6.055 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4936, allocations: 0 / 0.5076 GB, free: 6.055 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002739/0.4963, allocations: 0.9958 MB / 0.5086 GB, free: 5.055 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.0009796/0.4973, allocations: 0.9506 MB / 0.5095 GB, free: 4.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002439/0.4997, allocations: 1.394 MB / 0.5108 GB, free: 2.684 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4997, allocations: 0 / 0.5108 GB, free: 2.684 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.131e-05/0.4998, allocations: 35.92 kB / 0.5109 GB, free: 2.648 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.5015, allocations: 335 kB / 0.5112 GB, free: 2.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03365/0.5352, allocations: 19.28 MB / 0.53 GB, free: 13.35 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005438/0.5406, allocations: 2.594 MB / 0.5326 GB, free: 10.72 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002011/0.5426, allocations: 0.7984 MB / 0.5333 GB, free: 9.914 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002078/0.5447, allocations: 1.319 MB / 0.5346 GB, free: 8.594 MB / 462.1 MB Notification: Performance of SimCode: time 1.914e-06/0.5447, allocations: 0 / 0.5346 GB, free: 8.594 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2674/0.8121, allocations: 45.28 MB / 0.5788 GB, free: 141.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.97, allocations: 11.08 kB / 0.5789 GB, free: 141.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 & /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.801942456979305]