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.005271/0.005271, allocations: 101.1 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.001348/0.001348, 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.402/1.402, allocations: 207.7 MB / 236.1 MB, free: 9.805 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD",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.001705/0.001705, allocations: 56.3 kB / 348 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2654, allocations: 49.16 MB / 397.1 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.004068/0.2694, allocations: 3.403 MB / 400.5 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.2711, allocations: 1.026 MB / 401.6 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002003/0.2713, allocations: 23.06 kB / 401.6 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.2716, allocations: 159.8 kB / 401.7 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007535/0.2724, allocations: 307.7 kB / 402 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.2726, allocations: 136.3 kB / 402.2 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001398/0.274, allocations: 1.46 MB / 403.6 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007499/0.2748, allocations: 0.608 MB / 404.2 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009421/0.2757, allocations: 0.6507 MB / 404.9 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.2769, allocations: 0.7882 MB / 405.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002258/0.2771, allocations: 158.8 kB / 405.8 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002834/0.2774, allocations: 159.7 kB / 406 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004307/0.2778, allocations: 466.9 kB / 406.4 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000702/0.2785, allocations: 0.6108 MB / 407.1 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002067/0.2806, allocations: 2.079 MB / 409.1 MB, free: 2.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2806, allocations: 1.406 kB / 409.1 MB, free: 2.516 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2806, allocations: 0 / 409.1 MB, free: 2.516 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.597e-05/0.2806, allocations: 0 / 409.1 MB, free: 2.516 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.002778/0.2834, allocations: 1.647 MB / 410.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.2835, allocations: 13.52 kB / 410.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.571e-05/0.2835, allocations: 34.81 kB / 410.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001887/0.2837, allocations: 182.4 kB / 411 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002533/0.2839, allocations: 147.3 kB / 411.2 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.2852, allocations: 0.789 MB / 411.9 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.088e-05/0.2852, allocations: 83.31 kB / 412 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/0.2854, allocations: 112.9 kB / 412.1 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00276/0.2882, allocations: 1.72 MB / 413.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.2882, allocations: 0 / 413.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.2883, allocations: 45.91 kB / 413.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-05/0.2884, allocations: 31.25 kB / 413.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/0.2907, allocations: 1.329 MB / 415.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006966/0.2976, allocations: 3.879 MB / 419.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009921/0.2986, allocations: 0.6182 MB / 419.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008879/0.2995, allocations: 496.7 kB / 420.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.179e-05/0.2996, allocations: 10 kB / 420.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.2996, allocations: 38.66 kB / 420.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=51): time 2.534e-06/0.2996, allocations: 0 / 420.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.001624/0.3012, allocations: 0.8827 MB / 421.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.3013, allocations: 59.78 kB / 421.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.3024, allocations: 0.8204 MB / 422 MB, free: 9.969 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.038e-05/0.3025, allocations: 33.7 kB / 422.1 MB, free: 9.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004602/0.303, allocations: 0.5545 MB / 422.6 MB, free: 9.367 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.3031, allocations: 186.4 kB / 422.8 MB, free: 9.184 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.3033, allocations: 110.2 kB / 422.9 MB, free: 9.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.3035, allocations: 386.8 kB / 423.3 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004882/0.304, allocations: 305.1 kB / 423.6 MB, free: 8.383 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005482/0.3046, allocations: 399.4 kB / 424 MB, free: 7.965 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.3056, allocations: 0.6892 MB / 424.7 MB, free: 7.242 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3056, allocations: 0 / 424.7 MB, free: 7.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001399/0.307, allocations: 0.825 MB / 425.5 MB, free: 6.414 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.307, allocations: 8 kB / 425.5 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3071, allocations: 0 / 425.5 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.3071, allocations: 8 kB / 425.5 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006331/0.3077, allocations: 147.8 kB / 425.7 MB, free: 6.254 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.3077, allocations: 7.938 kB / 425.7 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004856/0.3082, allocations: 63.59 kB / 425.7 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.403e-05/0.3083, allocations: 20 kB / 425.8 MB, free: 6.164 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.0008062/0.3091, allocations: 461.5 kB / 426.2 MB, free: 5.703 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.3092, allocations: 83.52 kB / 426.3 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.3094, allocations: 91.02 kB / 426.4 MB, free: 5.527 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.3094, allocations: 4 kB / 426.4 MB, free: 5.523 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.3094, allocations: 7.938 kB / 426.4 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3094, allocations: 3.984 kB / 426.4 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003103/0.3125, allocations: 1.828 MB / 428.2 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.3125, allocations: 4 kB / 428.2 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004979/0.313, allocations: 115.9 kB / 428.3 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.313, allocations: 4 kB / 428.3 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-05/0.3131, allocations: 12 kB / 428.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.3131, allocations: 7.938 kB / 428.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.3131, allocations: 8.141 kB / 428.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.3147, allocations: 1.122 MB / 429.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/0.3149, allocations: 99.44 kB / 429.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-05/0.315, allocations: 15.98 kB / 429.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/0.3154, allocations: 51.89 kB / 429.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.3155, allocations: 44.3 kB / 429.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.3155, allocations: 16 kB / 429.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000797/0.3163, allocations: 0.5888 MB / 430.3 MB, free: 1.496 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3163, allocations: 0 / 430.3 MB, free: 1.496 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008738/0.3172, allocations: 287.1 kB / 430.6 MB, free: 1.215 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.002044/0.3193, allocations: 1.694 MB / 432.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.3203, allocations: 0.6297 MB / 432.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.3203, allocations: 4 kB / 432.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000461/0.3208, allocations: 311.1 kB / 433.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000898/0.3217, allocations: 186.8 kB / 433.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/0.3339, allocations: 8.526 MB / 441.9 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009038/0.3348, allocations: 0.7446 MB / 442.7 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000531/0.3353, allocations: 205.8 kB / 442.9 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005392/0.3359, allocations: 387.3 kB / 443.2 MB, free: 4.289 MB / 350.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3359, allocations: 0 / 443.2 MB, free: 4.289 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05006/0.3859, allocations: 20.29 MB / 463.5 MB, free: 15.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.24, allocations: 11.95 kB / 463.5 MB, free: 15.89 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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.70930723391939]