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.00139/0.00139, allocations: 109.6 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.001778/0.001778, allocations: 216.7 kB / 24.49 MB, free: 4.031 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.539/1.539, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.001785/0.001785, allocations: 52.44 kB / 347.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2497, allocations: 49.16 MB / 396.3 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.004389/0.2541, allocations: 3.757 MB / 400.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.2557, allocations: 1.084 MB / 401.2 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/0.256, allocations: 24.91 kB / 401.2 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003249/0.2563, allocations: 155.4 kB / 401.4 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007578/0.257, allocations: 310.8 kB / 401.7 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.2573, allocations: 136 kB / 401.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001238/0.2585, allocations: 1.451 MB / 403.2 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006902/0.2592, allocations: 0.6068 MB / 403.9 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006424/0.2599, allocations: 0.6527 MB / 404.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009122/0.2608, allocations: 0.7885 MB / 405.3 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001948/0.261, allocations: 159.8 kB / 405.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002327/0.2612, allocations: 158.9 kB / 405.6 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003446/0.2616, allocations: 467.5 kB / 406.1 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005978/0.2622, allocations: 0.7429 MB / 406.8 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001814/0.264, allocations: 2.075 MB / 408.9 MB, free: 1.934 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.264, allocations: 0 / 408.9 MB, free: 1.934 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.604e-06/0.264, allocations: 1.25 kB / 408.9 MB, free: 1.934 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.315e-05/0.264, allocations: 0 / 408.9 MB, free: 1.934 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.002547/0.2665, allocations: 1.634 MB / 410.5 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2666, allocations: 14.11 kB / 410.5 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001661/0.2667, allocations: 181.9 kB / 410.7 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/0.2669, allocations: 147.4 kB / 410.8 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.2681, allocations: 0.7901 MB / 411.6 MB, free: 40 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.698e-05/0.2682, allocations: 88.23 kB / 411.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.2683, allocations: 108.8 kB / 411.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002374/0.2707, allocations: 1.571 MB / 413.4 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.2707, allocations: 3.938 kB / 413.4 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.2708, allocations: 46.69 kB / 413.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.2708, allocations: 26.16 kB / 413.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002102/0.2729, allocations: 1.324 MB / 414.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006776/0.2797, allocations: 4.212 MB / 419 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009304/0.2807, allocations: 0.6324 MB / 419.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008432/0.2815, allocations: 0.4888 MB / 420.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.2815, allocations: 6.656 kB / 420.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.2816, allocations: 37.62 kB / 420.2 MB, free: 10.69 MB / 334.1 MB Notification: Performance of pre-optimization done (n=51): time 2.365e-06/0.2816, allocations: 4 kB / 420.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.001462/0.283, allocations: 0.8757 MB / 421.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.2831, allocations: 57.44 kB / 421.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.2842, allocations: 0.8293 MB / 421.9 MB, free: 9.418 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.157e-05/0.2842, allocations: 33.7 kB / 422 MB, free: 9.379 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000436/0.2847, allocations: 0.5623 MB / 422.5 MB, free: 8.809 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.2848, allocations: 190.4 kB / 422.7 MB, free: 8.621 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.285, allocations: 102.3 kB / 422.8 MB, free: 8.516 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.2852, allocations: 382.8 kB / 423.2 MB, free: 8.133 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004812/0.2857, allocations: 305.1 kB / 423.5 MB, free: 7.832 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005639/0.2862, allocations: 395.4 kB / 423.9 MB, free: 7.418 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009983/0.2872, allocations: 0.6815 MB / 424.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.2872, allocations: 4 kB / 424.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001284/0.2885, allocations: 0.8247 MB / 425.4 MB, free: 5.871 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.2885, allocations: 8 kB / 425.4 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.2886, allocations: 0 / 425.4 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.2886, allocations: 7.984 kB / 425.4 MB, free: 5.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005858/0.2892, allocations: 155.8 kB / 425.6 MB, free: 5.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.2892, allocations: 4.281 kB / 425.6 MB, free: 5.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/0.2896, allocations: 71.53 kB / 425.6 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.2896, allocations: 16 kB / 425.6 MB, free: 5.613 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.0006365/0.2902, allocations: 457.5 kB / 426.1 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.2904, allocations: 79.52 kB / 426.2 MB, free: 5.078 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001806/0.2905, allocations: 95.08 kB / 426.3 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.2905, allocations: 4 kB / 426.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.2906, allocations: 0 / 426.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.2906, allocations: 7.922 kB / 426.3 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003107/0.2937, allocations: 1.917 MB / 428.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.2937, allocations: 7.938 kB / 428.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005074/0.2942, allocations: 111.9 kB / 428.3 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-06/0.2942, allocations: 4 kB / 428.3 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/0.2942, allocations: 19.92 kB / 428.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.2942, allocations: 4 kB / 428.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2942, allocations: 3.938 kB / 428.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.2958, allocations: 1.126 MB / 429.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.296, allocations: 103.4 kB / 429.6 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.164e-05/0.2961, allocations: 12 kB / 429.6 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/0.2965, allocations: 47.95 kB / 429.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.2966, allocations: 48.23 kB / 429.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.2966, allocations: 16.09 kB / 429.7 MB, free: 1.445 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007738/0.2974, allocations: 0.5927 MB / 430.3 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2974, allocations: 4 kB / 430.3 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000758/0.2982, allocations: 283.1 kB / 430.6 MB, free: 0.5742 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.001923/0.3001, allocations: 1.682 MB / 432.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.3011, allocations: 0.6299 MB / 432.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3011, allocations: 0 / 432.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004761/0.3016, allocations: 314.2 kB / 433.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009203/0.3025, allocations: 187.3 kB / 433.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/0.3152, allocations: 8.537 MB / 441.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.3163, allocations: 1.34 MB / 443.2 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005351/0.3168, allocations: 205.8 kB / 443.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005357/0.3174, allocations: 379.3 kB / 443.8 MB, free: 3.07 MB / 350.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3174, allocations: 4 kB / 443.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05715/0.3745, allocations: 19.63 MB / 463.4 MB, free: 15.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.76, allocations: 16 kB / 463.5 MB, free: 15.34 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.306479468941689]