Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008593/0.0008593, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004455/0.004455, allocations: 165.6 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8634/0.8634, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/2.025e-05, allocations: 2.281 kB / 298.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.1407/0.1407, allocations: 6.836 MB / 305.3 MB, free: 12.15 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004117/0.1448, allocations: 2.632 MB / 307.9 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007319/0.1455, allocations: 76.12 kB / 308 MB, free: 10.55 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.1465, allocations: 0.5767 MB / 308.6 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001336/0.1479, allocations: 0.7946 MB / 309.4 MB, free: 9.738 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006483/0.1485, allocations: 446.9 kB / 309.8 MB, free: 9.48 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002553/0.1511, allocations: 3.526 MB / 313.3 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001892/0.153, allocations: 1.857 MB / 315.2 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002904/0.1559, allocations: 2.463 MB / 317.6 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/0.158, allocations: 1.825 MB / 319.5 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006189/0.1586, allocations: 460.6 kB / 319.9 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000982/0.1596, allocations: 0.6575 MB / 320.6 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008022/0.1604, allocations: 1.287 MB / 321.9 MB, free: 4.035 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001433/0.1618, allocations: 1.356 MB / 323.2 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00631/0.1681, allocations: 6.184 MB / 329.4 MB, free: 14.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1681, allocations: 6.281 kB / 329.4 MB, free: 14.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1681, allocations: 0 / 329.4 MB, free: 14.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001605/0.1683, allocations: 0 / 329.4 MB, free: 14.69 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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.01091/0.1792, allocations: 3.757 MB / 333.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.1792, allocations: 11.98 kB / 333.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001127/0.1804, allocations: 429.9 kB / 333.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006431/0.181, allocations: 410.5 kB / 334 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/0.1833, allocations: 1.908 MB / 335.9 MB, free: 9.125 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.1834, allocations: 222.2 kB / 336.1 MB, free: 8.906 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002764/0.1837, allocations: 288.3 kB / 336.4 MB, free: 8.625 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005117/0.1888, allocations: 4.442 MB / 340.8 MB, free: 4.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.785e-05/0.1888, allocations: 4 kB / 340.9 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002077/0.189, allocations: 123.9 kB / 341 MB, free: 3.949 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.1892, allocations: 141.9 kB / 341.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004051/0.1932, allocations: 3.478 MB / 344.6 MB, free: 324 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01078/0.204, allocations: 9.726 MB / 354.3 MB, free: 6.414 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.2056, allocations: 1.637 MB / 356 MB, free: 4.789 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/0.2072, allocations: 1.411 MB / 357.4 MB, free: 3.379 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/0.2074, allocations: 44.97 kB / 357.4 MB, free: 3.332 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.2074, allocations: 59.44 kB / 357.5 MB, free: 3.266 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 2.895e-06/0.2074, allocations: 0 / 357.5 MB, free: 3.266 MB / 314.7 MB Notification: Performance of matching and sorting (n=133): time 0.005972/0.2134, allocations: 5.156 MB / 362.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.2134, allocations: 94.41 kB / 362.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001712/0.2151, allocations: 1.929 MB / 364.6 MB, free: 12.03 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.285e-05/0.2152, allocations: 57.55 kB / 364.7 MB, free: 11.97 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008292/0.216, allocations: 1.349 MB / 366 MB, free: 10.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.2162, allocations: 479.8 kB / 366.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.2165, allocations: 267.5 kB / 366.8 MB, free: 9.871 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.947e-05/0.2166, allocations: 309.1 kB / 367.1 MB, free: 9.566 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007696/0.2173, allocations: 0.8159 MB / 367.9 MB, free: 8.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009415/0.2183, allocations: 1.212 MB / 369.1 MB, free: 7.383 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/0.22, allocations: 2.083 MB / 371.2 MB, free: 5.156 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.22, allocations: 11.94 kB / 371.2 MB, free: 5.145 MB / 330.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.002734/0.2228, allocations: 2.52 MB / 373.7 MB, free: 2.613 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.2228, allocations: 12 kB / 373.7 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.2228, allocations: 11.98 kB / 373.7 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009684/0.2238, allocations: 482.5 kB / 374.2 MB, free: 2.117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006994/0.2245, allocations: 331.5 kB / 374.5 MB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003377/0.2279, allocations: 4.25 MB / 378.8 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007445/0.2286, allocations: 91.86 kB / 378.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.354e-05/0.2287, allocations: 56 kB / 378.9 MB, free: 13.29 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001292/0.23, allocations: 1.04 MB / 380 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004918/0.2305, allocations: 214.7 kB / 380.2 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/0.2327, allocations: 2.121 MB / 382.3 MB, free: 9.883 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.359e-05/0.2327, allocations: 19.98 kB / 382.3 MB, free: 9.863 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2327, allocations: 7.938 kB / 382.3 MB, free: 9.855 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.2327, allocations: 3.984 kB / 382.3 MB, free: 9.852 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005305/0.238, allocations: 4.877 MB / 387.2 MB, free: 4.895 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.238, allocations: 4 kB / 387.2 MB, free: 4.891 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007898/0.2388, allocations: 231.6 kB / 387.4 MB, free: 4.664 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008746/0.2397, allocations: 460.7 kB / 387.9 MB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.587e-05/0.2397, allocations: 35.98 kB / 387.9 MB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003323/0.2431, allocations: 4.137 MB / 392.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2431, allocations: 0 / 392.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003273/0.2463, allocations: 3.252 MB / 395.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005602/0.2469, allocations: 390.7 kB / 395.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.247, allocations: 32 kB / 395.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005166/0.2476, allocations: 91.89 kB / 395.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.2477, allocations: 104.8 kB / 395.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-05/0.2478, allocations: 39.98 kB / 396 MB, free: 11.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001253/0.249, allocations: 1.342 MB / 397.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.249, allocations: 0 / 397.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001324/0.2504, allocations: 0.5546 MB / 397.9 MB, free: 10.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.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 (104): * Single equations (assignments): 99 * Array equations: 4 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003971/0.2543, allocations: 3.927 MB / 401.8 MB, free: 6.109 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002272/0.2566, allocations: 2.126 MB / 403.9 MB, free: 3.969 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2566, allocations: 0 / 403.9 MB, free: 3.969 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.2577, allocations: 1.164 MB / 405.1 MB, free: 2.793 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.259, allocations: 0.5144 MB / 405.6 MB, free: 2.277 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02176/0.2807, allocations: 20.68 MB / 426.3 MB, free: 13.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/0.2821, allocations: 1.868 MB / 428.1 MB, free: 11.11 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009836/0.2831, allocations: 491.4 kB / 428.6 MB, free: 10.63 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009532/0.2841, allocations: 1.07 MB / 429.7 MB, free: 9.555 MB / 394.7 MB Notification: Performance of SimCode: time 1.673e-06/0.2841, allocations: 0 / 429.7 MB, free: 9.555 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2096/0.4936, allocations: 55.42 MB / 485.1 MB, free: 140.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.257/8.75, allocations: 7.656 kB / 485.1 MB, free: 140.3 MB / 426.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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: 10.525001158937812]