Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001391/0.001391, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00283/0.00283, allocations: 214 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 230.5 MB / 257.4 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 55.91 kB / 377.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2779, allocations: 53.42 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005658/0.2836, allocations: 3.852 MB / 435 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.2859, allocations: 1.094 MB / 436.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002678/0.2862, allocations: 31.75 kB / 436.2 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003573/0.2865, allocations: 154.8 kB / 436.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008921/0.2874, allocations: 318.3 kB / 436.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.2877, allocations: 147.7 kB / 436.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001493/0.2892, allocations: 1.428 MB / 438.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008685/0.2901, allocations: 0.6552 MB / 438.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008551/0.2909, allocations: 0.6582 MB / 439.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.292, allocations: 0.8017 MB / 440.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002116/0.2922, allocations: 160 kB / 440.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002801/0.2925, allocations: 168 kB / 440.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000433/0.2929, allocations: 482.7 kB / 441.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000811/0.2937, allocations: 0.7427 MB / 441.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.2959, allocations: 2.095 MB / 443.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2959, allocations: 0 / 443.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2959, allocations: 4 kB / 443.9 MB, free: 9.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.143e-05/0.2959, allocations: 0 / 443.9 MB, free: 9.852 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.003116/0.299, allocations: 1.654 MB / 445.6 MB, free: 8.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.2991, allocations: 12.03 kB / 445.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002188/0.2993, allocations: 177.4 kB / 445.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000499/0.2998, allocations: 180 kB / 445.9 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/0.3015, allocations: 0.8668 MB / 446.8 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.728e-05/0.3015, allocations: 90.19 kB / 446.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.3017, allocations: 108 kB / 447 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002565/0.3043, allocations: 1.588 MB / 448.6 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.3043, allocations: 0 / 448.6 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.3044, allocations: 48 kB / 448.6 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.832e-05/0.3045, allocations: 46.25 kB / 448.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/0.3067, allocations: 1.336 MB / 450 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007093/0.3137, allocations: 4.381 MB / 454.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009624/0.3147, allocations: 0.6247 MB / 455 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000882/0.3156, allocations: 0.4983 MB / 455.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.3156, allocations: 8.422 kB / 455.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.3157, allocations: 43 kB / 455.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.605e-06/0.3157, allocations: 0 / 455.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001579/0.3172, allocations: 0.8849 MB / 456.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.3173, allocations: 59.84 kB / 456.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.3185, allocations: 0.8321 MB / 457.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.102e-05/0.3186, allocations: 41.64 kB / 457.4 MB, free: 12.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005241/0.3191, allocations: 0.5584 MB / 458 MB, free: 11.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.3193, allocations: 190.4 kB / 458.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.3195, allocations: 102.3 kB / 458.2 MB, free: 11.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002541/0.3197, allocations: 386.8 kB / 458.6 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004847/0.3202, allocations: 301.1 kB / 458.9 MB, free: 10.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005603/0.3208, allocations: 403.3 kB / 459.3 MB, free: 10.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.3218, allocations: 0.6815 MB / 460 MB, free: 9.355 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.3218, allocations: 0 / 460 MB, free: 9.355 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001325/0.3231, allocations: 0.8248 MB / 460.8 MB, free: 8.523 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.3231, allocations: 10.48 kB / 460.8 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.3231, allocations: 4 kB / 460.8 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.3232, allocations: 7.938 kB / 460.8 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006026/0.3238, allocations: 148.1 kB / 461 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.3238, allocations: 7.984 kB / 461 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.3241, allocations: 59.61 kB / 461 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.3242, allocations: 23.94 kB / 461.1 MB, free: 8.27 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.0006362/0.3248, allocations: 457.5 kB / 461.5 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.3249, allocations: 75.53 kB / 461.6 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.3251, allocations: 99.06 kB / 461.7 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.3251, allocations: 7.938 kB / 461.7 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.3251, allocations: 11.94 kB / 461.7 MB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.3251, allocations: 3.984 kB / 461.7 MB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003187/0.3283, allocations: 1.921 MB / 463.6 MB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3283, allocations: 0 / 463.6 MB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005164/0.3288, allocations: 123.8 kB / 463.8 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.3288, allocations: 0 / 463.8 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.3289, allocations: 12 kB / 463.8 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.3289, allocations: 4.156 kB / 463.8 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.3289, allocations: 7.938 kB / 463.8 MB, free: 5.484 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.3305, allocations: 1.134 MB / 464.9 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.3307, allocations: 95.44 kB / 465 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.934e-05/0.3308, allocations: 15.98 kB / 465 MB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003933/0.3312, allocations: 43.95 kB / 465.1 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.393e-05/0.3313, allocations: 44.31 kB / 465.1 MB, free: 4.125 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/0.3313, allocations: 23.92 kB / 465.1 MB, free: 4.102 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007997/0.3321, allocations: 0.5927 MB / 465.7 MB, free: 3.512 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3321, allocations: 0 / 465.7 MB, free: 3.512 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007281/0.3329, allocations: 287.1 kB / 466 MB, free: 3.23 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.001944/0.3348, allocations: 1.69 MB / 467.7 MB, free: 1.496 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.3359, allocations: 0.6298 MB / 468.3 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3359, allocations: 0 / 468.3 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004679/0.3364, allocations: 311 kB / 468.6 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008754/0.3372, allocations: 183.1 kB / 468.8 MB, free: 392 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/0.3499, allocations: 8.556 MB / 477.4 MB, free: 7.645 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/0.3511, allocations: 1.348 MB / 478.7 MB, free: 6.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005127/0.3516, allocations: 213.8 kB / 478.9 MB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005529/0.3521, allocations: 387.3 kB / 479.3 MB, free: 5.68 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3521, allocations: 0 / 479.3 MB, free: 5.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06048/0.4126, allocations: 19.83 MB / 499.1 MB, free: 2.055 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.83, allocations: 22.22 kB / 499.1 MB, free: 2.043 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.31750710401684]