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.001801/0.001801, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002168/0.002168, allocations: 210.2 kB / 24.53 MB, free: 4.07 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.414/1.414, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.001806/0.001806, allocations: 63.91 kB / 378.6 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3238, allocations: 53.4 MB / 432 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.00552/0.3293, allocations: 3.84 MB / 435.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.3315, allocations: 1.028 MB / 436.8 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002758/0.3317, allocations: 27.81 kB / 436.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003898/0.3321, allocations: 166.8 kB / 437 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009554/0.3331, allocations: 306.3 kB / 437.3 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.3334, allocations: 131.8 kB / 437.5 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001682/0.3351, allocations: 1.405 MB / 438.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009217/0.336, allocations: 0.6392 MB / 439.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009809/0.337, allocations: 0.6543 MB / 440.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.3382, allocations: 0.7861 MB / 440.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002235/0.3384, allocations: 156 kB / 441.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002987/0.3387, allocations: 156 kB / 441.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000436/0.3391, allocations: 470.7 kB / 441.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000916/0.34, allocations: 0.7311 MB / 442.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002284/0.3423, allocations: 2.06 MB / 444.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3423, allocations: 0 / 444.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3423, allocations: 0 / 444.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.882e-05/0.3424, allocations: 8 kB / 444.5 MB, free: 10.07 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.003745/0.3461, allocations: 1.626 MB / 446.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.3462, allocations: 16.03 kB / 446.1 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.458e-05/0.3462, allocations: 30.39 kB / 446.2 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002548/0.3465, allocations: 181.3 kB / 446.3 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005973/0.3471, allocations: 176 kB / 446.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.3486, allocations: 0.8471 MB / 447.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.505e-05/0.3487, allocations: 82.22 kB / 447.4 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001855/0.3489, allocations: 112 kB / 447.6 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/0.3516, allocations: 1.556 MB / 449.1 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/0.3516, allocations: 4 kB / 449.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.3517, allocations: 48 kB / 449.2 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.124e-05/0.3518, allocations: 42.2 kB / 449.2 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/0.3543, allocations: 1.328 MB / 450.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007663/0.3619, allocations: 4.085 MB / 454.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009927/0.3629, allocations: 0.5931 MB / 455.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007155/0.3637, allocations: 410 kB / 455.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.3637, allocations: 8.312 kB / 455.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.3637, allocations: 38.94 kB / 455.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.565e-06/0.3637, allocations: 0 / 455.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.003589/0.3673, allocations: 1.817 MB / 457.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.3674, allocations: 55.84 kB / 457.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.3686, allocations: 0.8205 MB / 458.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.889e-05/0.3686, allocations: 37.7 kB / 458.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004711/0.3691, allocations: 0.5583 MB / 458.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.3693, allocations: 170.5 kB / 459.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.3695, allocations: 106.2 kB / 459.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002186/0.3697, allocations: 390.8 kB / 459.6 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000503/0.3702, allocations: 293.1 kB / 459.9 MB, free: 10.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005979/0.3708, allocations: 405 kB / 460.3 MB, free: 9.883 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.3718, allocations: 0.6919 MB / 461 MB, free: 9.152 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.3718, allocations: 4 kB / 461 MB, free: 9.148 MB / 366.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001528/0.3733, allocations: 0.902 MB / 461.9 MB, free: 8.234 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.3734, allocations: 4.344 kB / 461.9 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.3734, allocations: 8 kB / 461.9 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003191/0.3737, allocations: 100.8 kB / 462 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005059/0.3742, allocations: 119.8 kB / 462.1 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002568/0.3768, allocations: 2.261 MB / 464.4 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004943/0.3773, allocations: 31.91 kB / 464.4 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/0.3773, allocations: 16 kB / 464.4 MB, free: 5.586 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.0007483/0.3781, allocations: 458.1 kB / 464.9 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.3782, allocations: 79.47 kB / 464.9 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/0.3784, allocations: 91.08 kB / 465 MB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.3784, allocations: 4 kB / 465 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.3784, allocations: 4 kB / 465 MB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.3784, allocations: 8.047 kB / 465 MB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003266/0.3817, allocations: 1.882 MB / 466.9 MB, free: 3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.3817, allocations: 0 / 466.9 MB, free: 3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003458/0.382, allocations: 79.89 kB / 467 MB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002731/0.3823, allocations: 108.8 kB / 467.1 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/0.3823, allocations: 15.94 kB / 467.1 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002428/0.3848, allocations: 2.222 MB / 469.3 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.3848, allocations: 0 / 469.3 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.3866, allocations: 1.153 MB / 470.5 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/0.3869, allocations: 83.55 kB / 470.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-05/0.387, allocations: 19.92 kB / 470.6 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.3874, allocations: 48 kB / 470.6 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.3875, allocations: 39.94 kB / 470.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.3875, allocations: 11.98 kB / 470.7 MB, free: 15.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008497/0.3884, allocations: 0.5927 MB / 471.3 MB, free: 14.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3884, allocations: 4.125 kB / 471.3 MB, free: 14.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008701/0.3893, allocations: 208 kB / 471.5 MB, free: 14.28 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.002211/0.3915, allocations: 1.704 MB / 473.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00155/0.393, allocations: 0.7809 MB / 474 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.393, allocations: 0 / 474 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007744/0.3938, allocations: 450.2 kB / 474.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.3949, allocations: 183.3 kB / 474.6 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/0.4078, allocations: 8.518 MB / 483.1 MB, free: 2.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/0.4089, allocations: 1.344 MB / 484.5 MB, free: 1.039 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000491/0.4094, allocations: 177.7 kB / 484.6 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005323/0.4099, allocations: 383.3 kB / 485 MB, free: 500 kB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4099, allocations: 0 / 485 MB, free: 500 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05874/0.4687, allocations: 19.98 MB / 0.4932 GB, free: 12.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.07, allocations: 11.98 kB / 0.4932 GB, free: 12.71 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.629501501040068]