Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.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.001452/0.001452, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001679/0.001679, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 47.92 kB / 377.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2845, allocations: 53.37 MB / 431.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005576/0.29, allocations: 3.829 MB / 435 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.2922, allocations: 1.083 MB / 436 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002651/0.2925, allocations: 31.75 kB / 436.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003453/0.2928, allocations: 162.8 kB / 436.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009004/0.2937, allocations: 314.3 kB / 436.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.294, allocations: 143.8 kB / 436.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.2956, allocations: 1.416 MB / 438.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009176/0.2965, allocations: 0.6591 MB / 438.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008602/0.2974, allocations: 0.6659 MB / 439.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/0.2985, allocations: 0.7901 MB / 440.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000209/0.2987, allocations: 160 kB / 440.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002664/0.299, allocations: 160 kB / 440.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004424/0.2994, allocations: 474.7 kB / 441 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007898/0.3002, allocations: 0.7389 MB / 441.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.3023, allocations: 2.083 MB / 443.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3023, allocations: 4 kB / 443.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3023, allocations: 0 / 443.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.768e-05/0.3023, allocations: 4 kB / 443.8 MB, free: 10.08 MB / 350.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.003053/0.3054, allocations: 1.65 MB / 445.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.3054, allocations: 8.031 kB / 445.5 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002159/0.3057, allocations: 177.3 kB / 445.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004832/0.3061, allocations: 180 kB / 445.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.3077, allocations: 0.8707 MB / 446.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.426e-05/0.3078, allocations: 90.19 kB / 446.8 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.308, allocations: 112 kB / 446.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002439/0.3104, allocations: 1.568 MB / 448.5 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.3104, allocations: 0 / 448.5 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.3105, allocations: 52 kB / 448.5 MB, free: 5.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.3106, allocations: 24 kB / 448.5 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/0.3127, allocations: 1.336 MB / 449.9 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006639/0.3193, allocations: 4.211 MB / 454.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009386/0.3203, allocations: 0.6256 MB / 454.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008937/0.3212, allocations: 0.4905 MB / 455.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.3212, allocations: 16.41 kB / 455.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.3212, allocations: 43 kB / 455.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 1.923e-06/0.3212, allocations: 3.938 kB / 455.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001486/0.3227, allocations: 0.881 MB / 456.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.3228, allocations: 59.84 kB / 456.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.3239, allocations: 0.8283 MB / 457 MB, free: 12.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/0.3239, allocations: 37.64 kB / 457.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004323/0.3243, allocations: 0.5584 MB / 457.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.3245, allocations: 186.4 kB / 457.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.3247, allocations: 102.3 kB / 457.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.3249, allocations: 394.8 kB / 458.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004655/0.3253, allocations: 297.1 kB / 458.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005371/0.3259, allocations: 399.3 kB / 459 MB, free: 10.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009897/0.3269, allocations: 0.6854 MB / 459.7 MB, free: 9.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.3269, allocations: 4 kB / 459.7 MB, free: 9.836 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001282/0.3282, allocations: 0.821 MB / 460.5 MB, free: 9.008 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.3282, allocations: 10.5 kB / 460.5 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.3282, allocations: 0 / 460.5 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.3282, allocations: 8 kB / 460.5 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000605/0.3288, allocations: 143.8 kB / 460.6 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.3288, allocations: 11.94 kB / 460.7 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.3292, allocations: 67.66 kB / 460.7 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.3292, allocations: 27.94 kB / 460.7 MB, free: 8.746 MB / 366.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.0006644/0.3299, allocations: 461.4 kB / 461.2 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.33, allocations: 75.53 kB / 461.3 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.3302, allocations: 91.08 kB / 461.4 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3302, allocations: 4 kB / 461.4 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.3302, allocations: 7.875 kB / 461.4 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.3302, allocations: 3.984 kB / 461.4 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00316/0.3334, allocations: 1.918 MB / 463.3 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.3334, allocations: 4 kB / 463.3 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004903/0.3339, allocations: 119.8 kB / 463.4 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.3339, allocations: 4 kB / 463.4 MB, free: 6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/0.3339, allocations: 12 kB / 463.4 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.3339, allocations: 4 kB / 463.4 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3339, allocations: 0 / 463.4 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.3355, allocations: 1.13 MB / 464.6 MB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/0.3357, allocations: 103.4 kB / 464.7 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-05/0.3358, allocations: 23.92 kB / 464.7 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003798/0.3362, allocations: 47.95 kB / 464.7 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.785e-05/0.3363, allocations: 40.31 kB / 464.8 MB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.3363, allocations: 15.98 kB / 464.8 MB, free: 4.598 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007766/0.3371, allocations: 0.6005 MB / 465.4 MB, free: 4 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3371, allocations: 0 / 465.4 MB, free: 4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007101/0.3378, allocations: 287.1 kB / 465.7 MB, free: 3.719 MB / 366.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.3397, allocations: 1.682 MB / 467.4 MB, free: 1.992 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.3408, allocations: 0.6337 MB / 468 MB, free: 1.355 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3408, allocations: 0 / 468 MB, free: 1.355 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004524/0.3412, allocations: 310.2 kB / 468.3 MB, free: 1.051 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008221/0.3421, allocations: 186.5 kB / 468.5 MB, free: 0.875 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.3541, allocations: 8.557 MB / 477 MB, free: 8.137 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/0.3552, allocations: 1.344 MB / 478.4 MB, free: 6.766 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004948/0.3557, allocations: 209.8 kB / 478.6 MB, free: 6.559 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005183/0.3562, allocations: 391.3 kB / 479 MB, free: 6.176 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3562, allocations: 0 / 479 MB, free: 6.176 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07724/0.4335, allocations: 19.8 MB / 498.8 MB, free: 2.621 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/12.94, allocations: 8.812 kB / 498.8 MB, free: 2.613 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYD.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.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.407385591883212]