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.0019/0.0019, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002419/0.002419, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.483/1.483, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.002072/0.002072, allocations: 47.92 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1357, allocations: 53.32 MB / 426.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.006112/0.1418, allocations: 3.803 MB / 430.1 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3371/0.4789, allocations: 1.079 MB / 431.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006394/0.4795, allocations: 32.31 kB / 431.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.4799, allocations: 157.2 kB / 431.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000959/0.4809, allocations: 307.7 kB / 431.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.4811, allocations: 133.5 kB / 431.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001331/0.4825, allocations: 1.419 MB / 433.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.4836, allocations: 0.9111 MB / 434.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009555/0.4845, allocations: 0.6571 MB / 434.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.4857, allocations: 0.7985 MB / 435.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000265/0.4859, allocations: 159.3 kB / 435.7 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003458/0.4863, allocations: 161.5 kB / 435.9 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004874/0.4868, allocations: 473.2 kB / 436.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008806/0.4876, allocations: 0.7456 MB / 437.1 MB, free: 6.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002912/0.4906, allocations: 2.083 MB / 439.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4906, allocations: 0 / 439.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.4906, allocations: 0 / 439.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.093e-05/0.4906, allocations: 1.156 kB / 439.2 MB, free: 5.77 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.003908/0.4945, allocations: 1.728 MB / 440.9 MB, free: 4.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.401e-05/0.4946, allocations: 10.31 kB / 440.9 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002761/0.4949, allocations: 178.2 kB / 441.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006298/0.4955, allocations: 182 kB / 441.3 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.4973, allocations: 0.92 MB / 442.2 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.4974, allocations: 83.88 kB / 442.3 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002389/0.4976, allocations: 112.8 kB / 442.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003151/0.5008, allocations: 1.575 MB / 444 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.5008, allocations: 0.8438 kB / 444 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.5009, allocations: 47.03 kB / 444 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.172e-05/0.5009, allocations: 26.56 kB / 444 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/0.5035, allocations: 1.332 MB / 445.4 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008257/0.5118, allocations: 4.28 MB / 449.7 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.5132, allocations: 1.296 MB / 451 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.5143, allocations: 0.497 MB / 451.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.836e-05/0.5143, allocations: 5.188 kB / 451.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.242e-05/0.5144, allocations: 39.38 kB / 451.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 3.667e-06/0.5144, allocations: 0 / 451.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001912/0.5163, allocations: 0.8819 MB / 452.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.5163, allocations: 57.53 kB / 452.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.5177, allocations: 0.831 MB / 453.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.748e-05/0.5177, allocations: 37.36 kB / 453.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005293/0.5183, allocations: 0.5616 MB / 453.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.5184, allocations: 184.4 kB / 454 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002041/0.5187, allocations: 106.5 kB / 454.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002609/0.5189, allocations: 392.4 kB / 454.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005347/0.5194, allocations: 299.5 kB / 454.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006181/0.5201, allocations: 393.1 kB / 455.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.5212, allocations: 0.6892 MB / 455.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5212, allocations: 1.062 kB / 455.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001461/0.5226, allocations: 0.825 MB / 456.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.5226, allocations: 6.094 kB / 456.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.5227, allocations: 3.312 kB / 456.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.5227, allocations: 8.422 kB / 456.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006408/0.5233, allocations: 143.9 kB / 456.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-05/0.5233, allocations: 9.609 kB / 456.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/0.5238, allocations: 74.48 kB / 457 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/0.5239, allocations: 18.38 kB / 457 MB, free: 11.96 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.0007598/0.5246, allocations: 465.9 kB / 457.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.5248, allocations: 80.38 kB / 457.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.525, allocations: 93.59 kB / 457.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.525, allocations: 5.656 kB / 457.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.525, allocations: 0 / 457.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.525, allocations: 3.938 kB / 457.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00357/0.5286, allocations: 1.95 MB / 459.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.5286, allocations: 2.406 kB / 459.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005196/0.5291, allocations: 112.5 kB / 459.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.5291, allocations: 5.5 kB / 459.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-05/0.5292, allocations: 15.58 kB / 459.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.5292, allocations: 4.062 kB / 459.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.5292, allocations: 1.938 kB / 459.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.5309, allocations: 1.13 MB / 460.8 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/0.5311, allocations: 178.5 kB / 461 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.5312, allocations: 14.28 kB / 461 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.5316, allocations: 46.33 kB / 461.1 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.5317, allocations: 50.09 kB / 461.1 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.5318, allocations: 15.34 kB / 461.1 MB, free: 9.348 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008507/0.5326, allocations: 0.5941 MB / 461.7 MB, free: 9.012 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5326, allocations: 0 / 461.7 MB, free: 9.012 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008436/0.5335, allocations: 285.3 kB / 462 MB, free: 8.934 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.002028/0.5355, allocations: 1.683 MB / 463.7 MB, free: 7.723 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.5366, allocations: 0.6333 MB / 464.3 MB, free: 7.418 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5366, allocations: 2.969 kB / 464.3 MB, free: 7.418 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004326/0.537, allocations: 308.8 kB / 464.6 MB, free: 7.273 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008833/0.5379, allocations: 185.8 kB / 464.8 MB, free: 7.188 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/0.5512, allocations: 8.55 MB / 473.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/0.5525, allocations: 1.35 MB / 474.7 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006633/0.5531, allocations: 213.9 kB / 474.9 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006042/0.5537, allocations: 387.3 kB / 475.3 MB, free: 13.95 MB / 382.1 MB Notification: Performance of SimCode: time 1.353e-06/0.5537, allocations: 0 / 475.3 MB, free: 13.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05459/0.6083, allocations: 19.31 MB / 494.6 MB, free: 10.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.407/10.02, allocations: 6.109 kB / 494.6 MB, free: 10.88 MB / 398.1 MB " [Timeout remaining time 650] (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: 12.534988182829693]