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.001561/0.001561, allocations: 107.6 kB / 21.18 MB, free: 460 kB / 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.001731/0.001731, allocations: 218.8 kB / 24.48 MB, free: 3.805 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.32/1.32, allocations: 207.7 MB / 235.3 MB, free: 9.816 MB / 190.1 MB " [Timeout remaining time 179] 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.001714/0.001714, allocations: 51.92 kB / 347.2 MB, free: 9.91 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2588, allocations: 49.16 MB / 396.3 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.004563/0.2634, allocations: 3.412 MB / 399.8 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.2656, allocations: 1.031 MB / 400.8 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.2658, allocations: 25.19 kB / 400.8 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.2662, allocations: 155.8 kB / 401 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000793/0.267, allocations: 311.5 kB / 401.3 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.2672, allocations: 139.4 kB / 401.4 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.2685, allocations: 1.454 MB / 402.9 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007228/0.2693, allocations: 0.5927 MB / 403.4 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008124/0.2701, allocations: 0.6476 MB / 404.1 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.2711, allocations: 0.7966 MB / 404.9 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002221/0.2714, allocations: 158.6 kB / 405 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002906/0.2717, allocations: 159.4 kB / 405.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003836/0.272, allocations: 467.5 kB / 405.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005997/0.2726, allocations: 0.6097 MB / 406.3 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001999/0.2746, allocations: 2.08 MB / 408.3 MB, free: 2.395 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2746, allocations: 0 / 408.3 MB, free: 2.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2747, allocations: 0 / 408.3 MB, free: 2.395 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.274e-05/0.2747, allocations: 0 / 408.3 MB, free: 2.395 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.003032/0.2777, allocations: 1.643 MB / 410 MB, free: 1.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.2778, allocations: 14.27 kB / 410 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001988/0.278, allocations: 178.3 kB / 410.2 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000245/0.2782, allocations: 152 kB / 410.3 MB, free: 1.027 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.2796, allocations: 0.785 MB / 411.1 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-05/0.2797, allocations: 87.59 kB / 411.2 MB, free: 464 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.2799, allocations: 109.1 kB / 411.3 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/0.2823, allocations: 1.715 MB / 413 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.2824, allocations: 5.062 kB / 413 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.2825, allocations: 45.84 kB / 413.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.2825, allocations: 31.12 kB / 413.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/0.2847, allocations: 1.324 MB / 414.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007231/0.292, allocations: 3.884 MB / 418.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.293, allocations: 0.6288 MB / 418.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008995/0.2939, allocations: 0.4894 MB / 419.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.2939, allocations: 5.906 kB / 419.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.294, allocations: 38.56 kB / 419.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=51): time 2.605e-06/0.294, allocations: 0 / 419.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.001536/0.2955, allocations: 0.882 MB / 420.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.2955, allocations: 55.84 kB / 420.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.2967, allocations: 0.8359 MB / 421.2 MB, free: 9.867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.889e-05/0.2967, allocations: 41.64 kB / 421.3 MB, free: 9.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004351/0.2972, allocations: 0.5545 MB / 421.8 MB, free: 9.258 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.2973, allocations: 186.4 kB / 422 MB, free: 9.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.2975, allocations: 98.34 kB / 422.1 MB, free: 8.973 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.2977, allocations: 382.7 kB / 422.5 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/0.2982, allocations: 309.1 kB / 422.8 MB, free: 8.285 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005662/0.2988, allocations: 391.4 kB / 423.2 MB, free: 7.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.2998, allocations: 0.6893 MB / 423.9 MB, free: 7.152 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.2998, allocations: 0 / 423.9 MB, free: 7.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001354/0.3012, allocations: 0.825 MB / 424.7 MB, free: 6.324 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3012, allocations: 8.062 kB / 424.7 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.3012, allocations: 4 kB / 424.7 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.3012, allocations: 4 kB / 424.7 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006197/0.3018, allocations: 147.8 kB / 424.8 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.3018, allocations: 7.938 kB / 424.9 MB, free: 6.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/0.3023, allocations: 63.59 kB / 424.9 MB, free: 6.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.386e-05/0.3023, allocations: 23.98 kB / 424.9 MB, free: 6.07 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.0006753/0.303, allocations: 461.4 kB / 425.4 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.3031, allocations: 83.53 kB / 425.5 MB, free: 5.527 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.3033, allocations: 95.06 kB / 425.6 MB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.3033, allocations: 4 kB / 425.6 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.3033, allocations: 3.938 kB / 425.6 MB, free: 5.422 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3033, allocations: 0 / 425.6 MB, free: 5.422 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/0.3065, allocations: 1.828 MB / 427.4 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3065, allocations: 0 / 427.4 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005063/0.307, allocations: 115.9 kB / 427.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.307, allocations: 0 / 427.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/0.3071, allocations: 19.98 kB / 427.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.3071, allocations: 0 / 427.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3071, allocations: 7.938 kB / 427.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.3086, allocations: 1.126 MB / 428.7 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002395/0.3089, allocations: 103.4 kB / 428.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.521e-05/0.309, allocations: 16 kB / 428.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004157/0.3094, allocations: 43.95 kB / 428.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.3095, allocations: 52.23 kB / 428.9 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/0.3095, allocations: 12 kB / 428.9 MB, free: 2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007971/0.3103, allocations: 0.5966 MB / 429.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3103, allocations: 0 / 429.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008133/0.3111, allocations: 287.1 kB / 429.8 MB, free: 1.125 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.00194/0.3131, allocations: 1.686 MB / 431.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.3142, allocations: 0.6298 MB / 432.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3142, allocations: 0 / 432.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004727/0.3146, allocations: 315 kB / 432.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009125/0.3156, allocations: 190.9 kB / 432.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/0.3278, allocations: 8.529 MB / 441.1 MB, free: 5.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000841/0.3286, allocations: 0.7446 MB / 441.9 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005348/0.3292, allocations: 205.8 kB / 442.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005289/0.3297, allocations: 383.3 kB / 442.4 MB, free: 4.199 MB / 350.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3297, allocations: 0 / 442.4 MB, free: 4.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05619/0.3859, allocations: 20.54 MB / 463 MB, free: 15.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.73, allocations: 3.859 kB / 463 MB, free: 15.56 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: 13.952215624973178]