Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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.001745/0.001745, allocations: 103.5 kB / 21.96 MB, free: 5.219 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.002027/0.002027, allocations: 214.5 kB / 25.26 MB, free: 3.129 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.365/1.365, allocations: 207.7 MB / 236.1 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.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY",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.001753/0.001753, allocations: 58.56 kB / 348 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2787, allocations: 49.16 MB / 397.1 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.003961/0.2826, allocations: 3.389 MB / 400.5 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.2843, allocations: 0.9837 MB / 401.5 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.2845, allocations: 23.25 kB / 401.5 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.2848, allocations: 150.9 kB / 401.7 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007624/0.2856, allocations: 301.3 kB / 402 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.2859, allocations: 126.4 kB / 402.1 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001287/0.2871, allocations: 1.415 MB / 403.5 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006948/0.2878, allocations: 0.5901 MB / 404.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007508/0.2886, allocations: 0.6425 MB / 404.7 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009255/0.2895, allocations: 0.7662 MB / 405.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.2897, allocations: 160.7 kB / 405.7 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002439/0.29, allocations: 155.3 kB / 405.8 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003709/0.2903, allocations: 461.6 kB / 406.3 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000602/0.2909, allocations: 0.5986 MB / 406.9 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.2928, allocations: 2.049 MB / 408.9 MB, free: 2.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2928, allocations: 0 / 408.9 MB, free: 2.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2928, allocations: 0 / 408.9 MB, free: 2.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.75e-05/0.2928, allocations: 0 / 408.9 MB, free: 2.5 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.00272/0.2956, allocations: 1.625 MB / 410.5 MB, free: 1.363 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.2956, allocations: 13.23 kB / 410.6 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.103e-05/0.2957, allocations: 33.09 kB / 410.6 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001797/0.2958, allocations: 170 kB / 410.7 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002374/0.2961, allocations: 146.9 kB / 410.9 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.2972, allocations: 0.7795 MB / 411.7 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.152e-05/0.2972, allocations: 87.19 kB / 411.8 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.2974, allocations: 107.4 kB / 411.9 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002384/0.2998, allocations: 1.683 MB / 413.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.2998, allocations: 7.922 kB / 413.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.2999, allocations: 46.16 kB / 413.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/0.2999, allocations: 27.28 kB / 413.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.3021, allocations: 1.308 MB / 414.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006505/0.3086, allocations: 3.793 MB / 418.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.3096, allocations: 0.6074 MB / 419.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006881/0.3103, allocations: 431.3 kB / 419.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.3104, allocations: 5.031 kB / 419.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.3104, allocations: 38.66 kB / 419.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 6.963e-06/0.3104, allocations: 4 kB / 419.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.003381/0.3138, allocations: 1.886 MB / 421.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.3138, allocations: 59.78 kB / 421.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.3149, allocations: 0.8088 MB / 422.6 MB, free: 9.285 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.248e-05/0.315, allocations: 37.7 kB / 422.6 MB, free: 9.242 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004378/0.3154, allocations: 0.5506 MB / 423.1 MB, free: 8.684 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.3156, allocations: 190.4 kB / 423.3 MB, free: 8.496 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.3157, allocations: 102.3 kB / 423.4 MB, free: 8.391 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.3159, allocations: 386.8 kB / 423.8 MB, free: 8.004 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004822/0.3164, allocations: 313 kB / 424.1 MB, free: 7.695 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000596/0.317, allocations: 400.2 kB / 424.5 MB, free: 7.273 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.3181, allocations: 0.694 MB / 425.2 MB, free: 6.539 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3181, allocations: 0 / 425.2 MB, free: 6.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00146/0.3196, allocations: 0.9154 MB / 426.1 MB, free: 5.617 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.3196, allocations: 11.94 kB / 426.1 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.3196, allocations: 0 / 426.1 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002874/0.3199, allocations: 112.8 kB / 426.2 MB, free: 5.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005029/0.3204, allocations: 131.9 kB / 426.4 MB, free: 5.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/0.3229, allocations: 2.249 MB / 428.6 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003753/0.3232, allocations: 32.03 kB / 428.6 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.3233, allocations: 20 kB / 428.7 MB, free: 2.945 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000633/0.3239, allocations: 457.4 kB / 429.1 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.324, allocations: 75.53 kB / 429.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.3242, allocations: 91.08 kB / 429.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3242, allocations: 4 kB / 429.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.3242, allocations: 7.938 kB / 429.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3242, allocations: 3.984 kB / 429.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/0.3274, allocations: 1.891 MB / 431.2 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.3274, allocations: 7.984 kB / 431.2 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003619/0.3278, allocations: 87.89 kB / 431.3 MB, free: 256 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002426/0.328, allocations: 104.8 kB / 431.4 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/0.3281, allocations: 15.98 kB / 431.4 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00237/0.3304, allocations: 2.203 MB / 433.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.3304, allocations: 3.938 kB / 433.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.3322, allocations: 1.204 MB / 434.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/0.3324, allocations: 91.53 kB / 434.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.3325, allocations: 12 kB / 434.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000402/0.3329, allocations: 56 kB / 435 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.333, allocations: 44.3 kB / 435 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.548e-05/0.3331, allocations: 19.94 kB / 435 MB, free: 12.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008255/0.3339, allocations: 0.5849 MB / 435.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3339, allocations: 0 / 435.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007984/0.3347, allocations: 208 kB / 435.8 MB, free: 11.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00217/0.3369, allocations: 1.768 MB / 437.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001405/0.3383, allocations: 0.7967 MB / 438.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3383, allocations: 0 / 438.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007767/0.339, allocations: 476.8 kB / 438.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008797/0.3399, allocations: 175.6 kB / 439 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/0.3536, allocations: 8.614 MB / 447.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/0.3547, allocations: 0.7525 MB / 448.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004954/0.3552, allocations: 185.8 kB / 448.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005452/0.3558, allocations: 367.3 kB / 448.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of SimCode: time 1.252e-06/0.3558, allocations: 0 / 448.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06131/0.4171, allocations: 20.75 MB / 469.7 MB, free: 9.316 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.58, allocations: 12 kB / 469.7 MB, free: 9.305 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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.04895473504439]