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.001773/0.001773, allocations: 117.8 kB / 18.5 MB, free: 4.434 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.001668/0.001668, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.563/1.563, allocations: 230.2 MB / 254.5 MB, free: 15.26 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 67.89 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.11, allocations: 53.32 MB / 426.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005503/0.1155, allocations: 3.817 MB / 430.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.1175, allocations: 1.024 MB / 431.5 MB, free: 136 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002276/0.1178, allocations: 23.94 kB / 431.5 MB, free: 112 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2195/0.3373, allocations: 152.2 kB / 431.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.3386, allocations: 291.7 kB / 432 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.339, allocations: 135.2 kB / 432.1 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.3403, allocations: 1.404 MB / 433.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009439/0.3413, allocations: 0.8841 MB / 434.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007442/0.342, allocations: 0.6361 MB / 435 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007999/0.3428, allocations: 0.7764 MB / 435.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002273/0.3431, allocations: 156.9 kB / 436 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000294/0.3433, allocations: 163.1 kB / 436.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004204/0.3438, allocations: 469.7 kB / 436.6 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007142/0.3445, allocations: 0.741 MB / 437.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002489/0.347, allocations: 2.052 MB / 439.4 MB, free: 6.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.347, allocations: 0 / 439.4 MB, free: 6.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.347, allocations: 0 / 439.4 MB, free: 6.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.207e-05/0.347, allocations: 1.406 kB / 439.4 MB, free: 6.121 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.003227/0.3502, allocations: 1.71 MB / 441.1 MB, free: 5.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.3503, allocations: 9.75 kB / 441.1 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002748/0.3506, allocations: 178 kB / 441.3 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005332/0.3511, allocations: 177.8 kB / 441.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.3527, allocations: 0.8973 MB / 442.3 MB, free: 4.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.477e-05/0.3528, allocations: 85.58 kB / 442.4 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.353, allocations: 111 kB / 442.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002489/0.3555, allocations: 1.561 MB / 444.1 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.3555, allocations: 5.125 kB / 444.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.822e-05/0.3556, allocations: 46.5 kB / 444.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-05/0.3556, allocations: 44.41 kB / 444.2 MB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002108/0.3578, allocations: 1.325 MB / 445.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006571/0.3643, allocations: 4.168 MB / 449.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000933/0.3653, allocations: 1.254 MB / 450.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006141/0.3659, allocations: 413.5 kB / 451.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.3659, allocations: 4.5 kB / 451.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.3659, allocations: 48.88 kB / 451.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.274e-06/0.3659, allocations: 0 / 451.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.003401/0.3693, allocations: 1.879 MB / 453.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.3694, allocations: 56.86 kB / 453.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.3705, allocations: 0.8255 MB / 454.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.807e-05/0.3705, allocations: 36.89 kB / 454.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00044/0.371, allocations: 0.5632 MB / 454.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.3711, allocations: 170.8 kB / 454.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.3713, allocations: 104.2 kB / 455 MB, free: 13.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002158/0.3715, allocations: 384.2 kB / 455.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004811/0.372, allocations: 296 kB / 455.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005528/0.3726, allocations: 405.7 kB / 456.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.3736, allocations: 0.6859 MB / 456.8 MB, free: 12.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3736, allocations: 4 kB / 456.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001382/0.375, allocations: 0.8896 MB / 457.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.375, allocations: 11.25 kB / 457.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.3751, allocations: 2.562 kB / 457.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003008/0.3754, allocations: 117 kB / 457.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004865/0.3758, allocations: 118.1 kB / 457.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002517/0.3784, allocations: 2.36 MB / 460.2 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004565/0.3788, allocations: 23.73 kB / 460.3 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/0.3789, allocations: 21.78 kB / 460.3 MB, free: 9.633 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.0007877/0.3797, allocations: 459.4 kB / 460.7 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.3798, allocations: 80.41 kB / 460.8 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.3799, allocations: 94.05 kB / 460.9 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.38, allocations: 4.719 kB / 460.9 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.38, allocations: 1.188 kB / 460.9 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.38, allocations: 9.016 kB / 460.9 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003322/0.3833, allocations: 1.907 MB / 462.8 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3833, allocations: 0 / 462.8 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/0.3836, allocations: 77.23 kB / 462.9 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002366/0.3839, allocations: 111.9 kB / 463 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.3839, allocations: 12.89 kB / 463 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002348/0.3862, allocations: 2.332 MB / 465.4 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3862, allocations: 0 / 465.4 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.388, allocations: 1.144 MB / 466.5 MB, free: 5.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003119/0.3883, allocations: 167.1 kB / 466.7 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.645e-05/0.3884, allocations: 12.41 kB / 466.7 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003888/0.3888, allocations: 48.39 kB / 466.7 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.3889, allocations: 36.97 kB / 466.8 MB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.3889, allocations: 14.09 kB / 466.8 MB, free: 4.953 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008354/0.3897, allocations: 0.5968 MB / 467.4 MB, free: 4.613 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3897, allocations: 0 / 467.4 MB, free: 4.613 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008241/0.3906, allocations: 209.1 kB / 467.6 MB, free: 4.598 MB / 366.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.002273/0.3928, allocations: 1.695 MB / 469.3 MB, free: 3.375 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001489/0.3943, allocations: 0.7854 MB / 470.1 MB, free: 2.922 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3943, allocations: 0 / 470.1 MB, free: 2.922 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007556/0.3951, allocations: 464.5 kB / 470.5 MB, free: 2.629 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000892/0.396, allocations: 176.8 kB / 470.7 MB, free: 2.551 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/0.4112, allocations: 8.496 MB / 479.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001585/0.4128, allocations: 1.338 MB / 480.5 MB, free: 9.062 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005762/0.4133, allocations: 183.9 kB / 480.7 MB, free: 8.887 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006111/0.414, allocations: 387.3 kB / 481.1 MB, free: 8.508 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.414, allocations: 0 / 481.1 MB, free: 8.508 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06297/0.4769, allocations: 19.53 MB / 0.4889 GB, free: 5.207 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.54, allocations: 15.92 kB / 0.4889 GB, free: 5.191 MB / 398.1 MB " [Timeout remaining time 648] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.187438608147204]