Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.001529/0.001529, allocations: 105.1 kB / 21.22 MB, free: 0.6523 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.001641/0.001641, allocations: 213.2 kB / 24.52 MB, free: 3.945 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.467/1.467, allocations: 230.5 MB / 258.2 MB, free: 7.816 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.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 59.89 kB / 378.5 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2829, allocations: 53.4 MB / 431.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005218/0.2881, allocations: 3.492 MB / 435.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002112/0.2902, allocations: 0.9854 MB / 436.4 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002485/0.2904, allocations: 31.81 kB / 436.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.2908, allocations: 150.8 kB / 436.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008488/0.2916, allocations: 302.4 kB / 436.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.2919, allocations: 139.8 kB / 437 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001508/0.2934, allocations: 1.412 MB / 438.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009016/0.2943, allocations: 0.6353 MB / 439 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009654/0.2953, allocations: 0.6503 MB / 439.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.2963, allocations: 0.7822 MB / 440.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002083/0.2965, allocations: 156 kB / 440.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003115/0.2968, allocations: 156 kB / 440.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004511/0.2973, allocations: 466.7 kB / 441.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007346/0.298, allocations: 0.6029 MB / 441.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.3001, allocations: 2.083 MB / 443.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3001, allocations: 0 / 443.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3001, allocations: 0 / 443.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.235e-05/0.3001, allocations: 0 / 443.9 MB, free: 10.38 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.003052/0.3032, allocations: 1.634 MB / 445.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.3032, allocations: 8.031 kB / 445.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.921e-05/0.3032, allocations: 34.34 kB / 445.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002181/0.3035, allocations: 177.3 kB / 445.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005078/0.304, allocations: 176 kB / 445.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.3054, allocations: 0.8472 MB / 446.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.736e-05/0.3055, allocations: 86.22 kB / 446.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.3057, allocations: 112 kB / 447 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002608/0.3083, allocations: 1.703 MB / 448.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.3083, allocations: 3.938 kB / 448.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.3084, allocations: 44 kB / 448.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.39e-05/0.3085, allocations: 50.2 kB / 448.8 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002187/0.3106, allocations: 1.316 MB / 450.1 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006159/0.3168, allocations: 3.719 MB / 453.8 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009472/0.3178, allocations: 0.5852 MB / 454.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006792/0.3184, allocations: 418 kB / 454.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/0.3185, allocations: 8.312 kB / 454.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.3185, allocations: 38.94 kB / 454.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 5.21e-06/0.3185, allocations: 3.984 kB / 454.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.003327/0.3218, allocations: 1.813 MB / 456.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.3219, allocations: 59.84 kB / 456.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.323, allocations: 0.8244 MB / 457.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.323, allocations: 33.7 kB / 457.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004575/0.3235, allocations: 0.566 MB / 458.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.3237, allocations: 170.5 kB / 458.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.3238, allocations: 102.3 kB / 458.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.324, allocations: 382.8 kB / 458.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/0.3245, allocations: 297.1 kB / 459.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005566/0.3251, allocations: 405 kB / 459.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.3261, allocations: 0.688 MB / 460.2 MB, free: 9.652 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3261, allocations: 0 / 460.2 MB, free: 9.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001553/0.3276, allocations: 0.9061 MB / 461.1 MB, free: 8.734 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.3277, allocations: 4 kB / 461.1 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.3277, allocations: 4 kB / 461.1 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003245/0.328, allocations: 112.7 kB / 461.2 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/0.3285, allocations: 112 kB / 461.3 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002542/0.3311, allocations: 2.234 MB / 463.5 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/0.3315, allocations: 31.97 kB / 463.6 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/0.3315, allocations: 20 kB / 463.6 MB, free: 6.109 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007278/0.3322, allocations: 466.1 kB / 464 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.3324, allocations: 83.45 kB / 464.1 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.3325, allocations: 83.08 kB / 464.2 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.3325, allocations: 8 kB / 464.2 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.3325, allocations: 0 / 464.2 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3325, allocations: 0 / 464.2 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002945/0.3355, allocations: 1.796 MB / 466 MB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.3355, allocations: 0 / 466 MB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/0.3358, allocations: 87.95 kB / 466.1 MB, free: 3.527 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002371/0.3361, allocations: 100.7 kB / 466.2 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/0.3361, allocations: 15.94 kB / 466.2 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/0.3384, allocations: 2.211 MB / 468.4 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3384, allocations: 4.031 kB / 468.4 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.3401, allocations: 1.145 MB / 469.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.3402, allocations: 83.55 kB / 469.6 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.82e-05/0.3403, allocations: 27.98 kB / 469.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.3407, allocations: 47.95 kB / 469.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.3408, allocations: 35.92 kB / 469.7 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.597e-05/0.3409, allocations: 20.06 kB / 469.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008015/0.3417, allocations: 0.5888 MB / 470.4 MB, free: 15.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3417, allocations: 0 / 470.4 MB, free: 15.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007488/0.3424, allocations: 208 kB / 470.6 MB, free: 14.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[1].i,transformerL.inductor[2].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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002031/0.3445, allocations: 1.704 MB / 472.3 MB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001401/0.3459, allocations: 0.7729 MB / 473 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3459, allocations: 0 / 473 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007245/0.3466, allocations: 455 kB / 473.5 MB, free: 11.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008308/0.3474, allocations: 185.3 kB / 473.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/0.359, allocations: 8.506 MB / 482.2 MB, free: 3.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008396/0.3598, allocations: 0.7411 MB / 482.9 MB, free: 2.273 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004321/0.3603, allocations: 181.7 kB / 483.1 MB, free: 2.094 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000519/0.3608, allocations: 383.3 kB / 483.5 MB, free: 1.719 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3608, allocations: 3.938 kB / 483.5 MB, free: 1.715 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05596/0.4168, allocations: 20.68 MB / 0.4923 GB, free: 13.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.91, allocations: 6.281 kB / 0.4923 GB, free: 13.32 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.481095284922048]