Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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.001869/0.001869, allocations: 108.5 kB / 21.18 MB, free: 0.6992 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.002503/0.002503, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.358/1.358, allocations: 207.6 MB / 235.3 MB, free: 10 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.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD",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.001757/0.001757, allocations: 55.92 kB / 347.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.267, allocations: 49.17 MB / 396.3 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.00431/0.2713, allocations: 3.758 MB / 400.1 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.273, allocations: 1.075 MB / 401.2 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/0.2732, allocations: 23.97 kB / 401.2 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.2736, allocations: 157.2 kB / 401.4 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000764/0.2743, allocations: 306.3 kB / 401.7 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.2746, allocations: 148 kB / 401.8 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001268/0.2758, allocations: 1.451 MB / 403.3 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006809/0.2765, allocations: 0.6066 MB / 403.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006932/0.2772, allocations: 0.6479 MB / 404.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.2783, allocations: 0.7894 MB / 405.3 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002001/0.2785, allocations: 159.8 kB / 405.5 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.2787, allocations: 158.7 kB / 405.6 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003765/0.2791, allocations: 468.2 kB / 406.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006973/0.2798, allocations: 0.7463 MB / 406.8 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002009/0.2818, allocations: 2.066 MB / 408.9 MB, free: 1.914 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.2818, allocations: 4 kB / 408.9 MB, free: 1.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2818, allocations: 0.9688 kB / 408.9 MB, free: 1.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.286e-05/0.2819, allocations: 0 / 408.9 MB, free: 1.91 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002926/0.2848, allocations: 1.643 MB / 410.5 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.2848, allocations: 13.42 kB / 410.5 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000191/0.285, allocations: 182.4 kB / 410.7 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002472/0.2853, allocations: 147.7 kB / 410.9 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.2866, allocations: 0.7771 MB / 411.6 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.642e-05/0.2866, allocations: 91.52 kB / 411.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/0.2868, allocations: 113.5 kB / 411.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002708/0.2895, allocations: 1.567 MB / 413.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.2896, allocations: 3.938 kB / 413.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.2897, allocations: 48.34 kB / 413.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/0.2897, allocations: 25.66 kB / 413.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/0.2921, allocations: 1.328 MB / 414.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007967/0.3001, allocations: 4.211 MB / 419 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.3011, allocations: 0.6305 MB / 419.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.3022, allocations: 0.4889 MB / 420.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.618e-05/0.3022, allocations: 4.781 kB / 420.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.008e-05/0.3023, allocations: 38.44 kB / 420.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=51): time 3.016e-06/0.3023, allocations: 4 kB / 420.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.001946/0.3042, allocations: 0.8759 MB / 421.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.3043, allocations: 57 kB / 421.1 MB, free: 10.15 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.3057, allocations: 0.8261 MB / 421.9 MB, free: 9.395 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.841e-05/0.3057, allocations: 33.7 kB / 422 MB, free: 9.355 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005501/0.3063, allocations: 0.5623 MB / 422.5 MB, free: 8.785 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/0.3065, allocations: 190.4 kB / 422.7 MB, free: 8.598 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.3067, allocations: 102.3 kB / 422.8 MB, free: 8.492 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002894/0.307, allocations: 386.8 kB / 423.2 MB, free: 8.105 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005163/0.3075, allocations: 301.1 kB / 423.5 MB, free: 7.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006029/0.3081, allocations: 395.4 kB / 423.9 MB, free: 7.395 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.3091, allocations: 0.6815 MB / 424.6 MB, free: 6.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.525e-06/0.3092, allocations: 4 kB / 424.6 MB, free: 6.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001488/0.3106, allocations: 0.8286 MB / 425.4 MB, free: 5.844 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.3107, allocations: 8 kB / 425.4 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.3107, allocations: 0 / 425.4 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.446e-05/0.3107, allocations: 8 kB / 425.4 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006775/0.3114, allocations: 151.8 kB / 425.6 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.872e-05/0.3114, allocations: 12.22 kB / 425.6 MB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005902/0.312, allocations: 63.59 kB / 425.6 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.673e-05/0.3121, allocations: 16 kB / 425.6 MB, free: 5.59 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001067/0.3131, allocations: 461.4 kB / 426.1 MB, free: 5.129 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.3133, allocations: 75.53 kB / 426.2 MB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.3135, allocations: 91.08 kB / 426.3 MB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.3135, allocations: 4 kB / 426.3 MB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/0.3135, allocations: 3.938 kB / 426.3 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.3135, allocations: 7.984 kB / 426.3 MB, free: 4.945 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003698/0.3172, allocations: 1.925 MB / 428.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.3172, allocations: 4 kB / 428.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005402/0.3178, allocations: 115.9 kB / 428.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-05/0.3178, allocations: 4 kB / 428.3 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.221e-05/0.3178, allocations: 12 kB / 428.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.708e-06/0.3178, allocations: 7.938 kB / 428.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3178, allocations: 3.938 kB / 428.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.3197, allocations: 1.134 MB / 429.5 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003111/0.32, allocations: 95.39 kB / 429.6 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.3201, allocations: 15.98 kB / 429.6 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/0.3205, allocations: 47.95 kB / 429.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.3206, allocations: 48.23 kB / 429.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.3206, allocations: 20 kB / 429.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008397/0.3215, allocations: 0.5849 MB / 430.3 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3215, allocations: 4 kB / 430.3 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008893/0.3224, allocations: 283.1 kB / 430.6 MB, free: 0.5469 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001927/0.3243, allocations: 1.686 MB / 432.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.3254, allocations: 0.6298 MB / 432.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3254, allocations: 0 / 432.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000488/0.3259, allocations: 318.2 kB / 433.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009291/0.3268, allocations: 183.5 kB / 433.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.3389, allocations: 8.534 MB / 441.9 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.34, allocations: 1.34 MB / 443.2 MB, free: 3.617 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005906/0.3406, allocations: 201.8 kB / 443.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005638/0.3412, allocations: 387.3 kB / 443.8 MB, free: 3.039 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3412, allocations: 4 kB / 443.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0546/0.3958, allocations: 19.63 MB / 463.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.34, allocations: 8.062 kB / 463.5 MB, free: 15.31 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_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_MultiPhase_Examples_TransformerYD.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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: 14.738937091002299]