Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008891/0.0008891, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008627/0.0008627, allocations: 149.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9012/0.9012, allocations: 173.3 MB / 200.4 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.305e-05, allocations: 2.281 kB / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003947/0.00397, allocations: 3.436 MB / 321.9 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.005442, allocations: 0.9307 MB / 322.8 MB, free: 1.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002308/0.005673, allocations: 27.81 kB / 322.8 MB, free: 1.953 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005314/0.006204, allocations: 162.7 kB / 323 MB, free: 1.793 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006784/0.006883, allocations: 290.1 kB / 323.3 MB, free: 1.508 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.007092, allocations: 131.8 kB / 323.4 MB, free: 1.379 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009917/0.008084, allocations: 1.443 MB / 324.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005693/0.008653, allocations: 0.6196 MB / 325.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008581/0.009511, allocations: 0.9239 MB / 326.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007962/0.01031, allocations: 0.7092 MB / 327.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.01049, allocations: 156 kB / 327.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.01064, allocations: 156 kB / 327.4 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002704/0.01091, allocations: 478.6 kB / 327.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004135/0.01133, allocations: 0.5067 MB / 328.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001679/0.013, allocations: 2.065 MB / 330.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.01301, allocations: 4 kB / 330.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01301, allocations: 0 / 330.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.645e-05/0.01305, allocations: 0 / 330.4 MB, free: 10.28 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.001947/0.015, allocations: 1.615 MB / 332 MB, free: 8.629 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.01504, allocations: 8.922 kB / 332.1 MB, free: 8.621 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001464/0.01519, allocations: 173.2 kB / 332.2 MB, free: 8.441 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.01533, allocations: 148 kB / 332.4 MB, free: 8.297 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008407/0.01617, allocations: 0.8194 MB / 333.2 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.701e-05/0.01622, allocations: 82.59 kB / 333.3 MB, free: 7.367 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.01633, allocations: 112.4 kB / 333.4 MB, free: 7.258 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.018, allocations: 1.699 MB / 335.1 MB, free: 5.477 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.01802, allocations: 4 kB / 335.1 MB, free: 5.473 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.403e-05/0.0181, allocations: 55.92 kB / 335.1 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.01811, allocations: 28 kB / 335.2 MB, free: 5.391 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/0.01979, allocations: 1.308 MB / 336.5 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004055/0.02385, allocations: 3.787 MB / 340.3 MB, free: 160 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006304/0.02448, allocations: 0.6106 MB / 340.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004299/0.02491, allocations: 435.4 kB / 341.3 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.02493, allocations: 4.5 kB / 341.3 MB, free: 15.1 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.02496, allocations: 39.06 kB / 341.3 MB, free: 15.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 1.823e-06/0.02496, allocations: 0 / 341.3 MB, free: 15.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.002199/0.02716, allocations: 1.881 MB / 343.2 MB, free: 13.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.02721, allocations: 63.84 kB / 343.3 MB, free: 13.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009644/0.02817, allocations: 0.8204 MB / 344.1 MB, free: 12.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.02821, allocations: 37.7 kB / 344.1 MB, free: 12.19 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/0.02848, allocations: 0.5467 MB / 344.7 MB, free: 11.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.559e-05/0.02858, allocations: 182.4 kB / 344.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.02869, allocations: 106.3 kB / 345 MB, free: 11.35 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.02882, allocations: 394.7 kB / 345.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000316/0.02914, allocations: 305.1 kB / 345.7 MB, free: 10.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/0.02948, allocations: 400.2 kB / 346 MB, free: 10.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006477/0.03013, allocations: 0.7059 MB / 346.7 MB, free: 9.488 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.03013, allocations: 4 kB / 346.8 MB, free: 9.484 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009054/0.03104, allocations: 0.9115 MB / 347.7 MB, free: 8.562 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.03106, allocations: 8 kB / 347.7 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.03106, allocations: 0 / 347.7 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002246/0.03129, allocations: 112.7 kB / 347.8 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.03157, allocations: 128 kB / 347.9 MB, free: 8.316 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.03318, allocations: 2.242 MB / 350.1 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.03337, allocations: 27.97 kB / 350.2 MB, free: 5.938 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.0334, allocations: 20 kB / 350.2 MB, free: 5.918 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * 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.0004055/0.03381, allocations: 465.5 kB / 350.6 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004096/0.03422, allocations: 75.53 kB / 350.7 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.335e-05/0.0343, allocations: 95.06 kB / 350.8 MB, free: 5.277 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.0343, allocations: 4 kB / 350.8 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.03432, allocations: 4 kB / 350.8 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.03432, allocations: 0 / 350.8 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.03624, allocations: 1.889 MB / 352.7 MB, free: 3.312 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.03624, allocations: 4.156 kB / 352.7 MB, free: 3.309 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.03642, allocations: 91.88 kB / 352.8 MB, free: 3.219 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001561/0.03658, allocations: 112.8 kB / 352.9 MB, free: 3.105 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.0366, allocations: 8 kB / 352.9 MB, free: 3.098 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/0.03798, allocations: 2.207 MB / 355.1 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.03798, allocations: 4.031 kB / 355.1 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.03903, allocations: 1.199 MB / 356.3 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.03913, allocations: 91.67 kB / 356.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.577e-05/0.03917, allocations: 15.98 kB / 356.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.03937, allocations: 47.95 kB / 356.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.03948, allocations: 44.3 kB / 356.5 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.03951, allocations: 16 kB / 356.5 MB, free: 15.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005434/0.04005, allocations: 0.5849 MB / 357.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04005, allocations: 0 / 357.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005471/0.0406, allocations: 216 kB / 357.3 MB, free: 14.54 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (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 (43): * Single equations (assignments): 42 * 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.001391/0.04199, allocations: 1.751 MB / 359.1 MB, free: 12.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008839/0.04287, allocations: 0.8013 MB / 359.9 MB, free: 11.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.04287, allocations: 0 / 359.9 MB, free: 11.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004263/0.0433, allocations: 486.1 kB / 360.4 MB, free: 11.44 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005446/0.04385, allocations: 185.2 kB / 360.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00838/0.05223, allocations: 8.612 MB / 369.2 MB, free: 2.453 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005096/0.05274, allocations: 0.7486 MB / 369.9 MB, free: 1.664 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002805/0.05302, allocations: 185.8 kB / 370.1 MB, free: 1.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003258/0.05334, allocations: 380.4 kB / 370.5 MB, free: 1.109 MB / 330.7 MB Notification: Performance of SimCode: time 8.91e-07/0.05334, allocations: 0 / 370.5 MB, free: 1.109 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03574/0.08908, allocations: 21.09 MB / 391.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.758/7.847, allocations: 6.078 kB / 391.6 MB, free: 12.29 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 9.53843614924699]