Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.000849/0.000849, allocations: 79.7 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.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.0008277/0.0008277, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8401/0.8401, allocations: 177.2 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.997e-06/1.038e-05, allocations: 12.47 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.005521/0.005531, allocations: 6.921 MB / 331.5 MB, free: 8.977 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003852/0.009383, allocations: 2.613 MB / 334.1 MB, free: 6.355 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006235/0.01001, allocations: 87.38 kB / 334.2 MB, free: 6.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008947/0.0109, allocations: 0.5819 MB / 334.8 MB, free: 5.684 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.01233, allocations: 0.784 MB / 335.6 MB, free: 4.895 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006278/0.01296, allocations: 439.2 kB / 336 MB, free: 4.465 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002377/0.01533, allocations: 3.4 MB / 339.4 MB, free: 1.047 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001844/0.01718, allocations: 1.953 MB / 341.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002536/0.01971, allocations: 2.477 MB / 343.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001496/0.02121, allocations: 1.836 MB / 345.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003303/0.02154, allocations: 464 kB / 346.1 MB, free: 10.28 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006274/0.02217, allocations: 0.6518 MB / 346.8 MB, free: 9.625 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008021/0.02297, allocations: 1.289 MB / 348.1 MB, free: 8.332 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009031/0.02387, allocations: 1.364 MB / 349.4 MB, free: 6.965 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003369/0.02724, allocations: 6.194 MB / 355.6 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.02725, allocations: 4 kB / 355.6 MB, free: 0.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.02725, allocations: 0 / 355.6 MB, free: 0.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.115e-05/0.02729, allocations: 0 / 355.6 MB, free: 0.75 MB / 314.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.003951/0.03124, allocations: 3.786 MB / 359.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.03128, allocations: 8.031 kB / 359.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003651/0.03164, allocations: 433.9 kB / 359.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007227/0.03237, allocations: 446.5 kB / 360.3 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.03463, allocations: 2.11 MB / 362.4 MB, free: 9.871 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.03474, allocations: 226.2 kB / 362.6 MB, free: 9.648 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002602/0.035, allocations: 292.1 kB / 362.9 MB, free: 9.363 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004009/0.03901, allocations: 4.438 MB / 367.3 MB, free: 4.812 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.588e-05/0.03905, allocations: 4 kB / 367.3 MB, free: 4.809 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/0.03923, allocations: 127.9 kB / 367.5 MB, free: 4.684 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.952e-05/0.03933, allocations: 137.9 kB / 367.6 MB, free: 4.547 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003518/0.04284, allocations: 3.486 MB / 371.1 MB, free: 1.051 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009254/0.0521, allocations: 9.715 MB / 380.8 MB, free: 7.137 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.05362, allocations: 1.64 MB / 382.4 MB, free: 5.508 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/0.05547, allocations: 1.404 MB / 383.8 MB, free: 4.105 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001482/0.05562, allocations: 48.97 kB / 383.9 MB, free: 4.055 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.05565, allocations: 59.44 kB / 383.9 MB, free: 3.988 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 2.435e-06/0.05565, allocations: 0 / 383.9 MB, free: 3.988 MB / 346.7 MB Notification: Performance of matching and sorting (n=133): time 0.005316/0.06097, allocations: 5.117 MB / 389.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.06102, allocations: 90.42 kB / 389.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/0.06288, allocations: 1.941 MB / 391.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.071e-05/0.06294, allocations: 49.7 kB / 391.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005879/0.06352, allocations: 1.349 MB / 392.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.06375, allocations: 483.8 kB / 393 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002588/0.06401, allocations: 271.5 kB / 393.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.231e-05/0.06407, allocations: 309.1 kB / 393.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007772/0.06485, allocations: 0.8159 MB / 394.3 MB, free: 9.504 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009342/0.06578, allocations: 1.208 MB / 395.5 MB, free: 8.137 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/0.0677, allocations: 2.078 MB / 397.6 MB, free: 5.918 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.06771, allocations: 4 kB / 397.6 MB, free: 5.914 MB / 362.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.002422/0.07013, allocations: 2.524 MB / 400.1 MB, free: 3.379 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.07015, allocations: 12 kB / 400.2 MB, free: 3.367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.07016, allocations: 8 kB / 400.2 MB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009059/0.07107, allocations: 475.1 kB / 400.6 MB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006501/0.07172, allocations: 331.5 kB / 401 MB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003521/0.07524, allocations: 4.235 MB / 405.2 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005669/0.07581, allocations: 87.88 kB / 405.3 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.581e-05/0.07589, allocations: 67.92 kB / 405.3 MB, free: 14.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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.00104/0.07693, allocations: 1.059 MB / 406.4 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/0.07715, allocations: 194.8 kB / 406.6 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/0.07925, allocations: 2.137 MB / 408.7 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/0.07927, allocations: 16 kB / 408.7 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.07928, allocations: 4 kB / 408.7 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.07929, allocations: 15.95 kB / 408.8 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005276/0.08456, allocations: 4.865 MB / 413.6 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.08457, allocations: 4 kB / 413.6 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004871/0.08506, allocations: 223.6 kB / 413.9 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008414/0.0859, allocations: 456.5 kB / 414.3 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-05/0.08596, allocations: 35.98 kB / 414.3 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003148/0.08911, allocations: 4.141 MB / 418.5 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.08911, allocations: 0 / 418.5 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003219/0.09233, allocations: 3.252 MB / 421.7 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005132/0.09284, allocations: 398.6 kB / 422.1 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.09297, allocations: 28 kB / 422.1 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005011/0.09347, allocations: 99.95 kB / 422.2 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.09361, allocations: 100.7 kB / 422.3 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.908e-05/0.09367, allocations: 43.98 kB / 422.4 MB, free: 12.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001199/0.09487, allocations: 1.338 MB / 423.7 MB, free: 11.42 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.09487, allocations: 4 kB / 423.7 MB, free: 11.42 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001023/0.0959, allocations: 0.5507 MB / 424.3 MB, free: 10.87 MB / 394.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.003639/0.09953, allocations: 3.942 MB / 428.2 MB, free: 6.883 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00211/0.1016, allocations: 2.114 MB / 430.3 MB, free: 4.754 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1016, allocations: 0.75 kB / 430.3 MB, free: 4.754 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.1027, allocations: 1.156 MB / 431.5 MB, free: 3.586 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.1039, allocations: 0.5088 MB / 432 MB, free: 3.082 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1403/0.2442, allocations: 20.67 MB / 452.7 MB, free: 111.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/0.2455, allocations: 1.868 MB / 454.5 MB, free: 111.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008908/0.2464, allocations: 0.4925 MB / 455 MB, free: 111.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007653/0.2471, allocations: 1.073 MB / 456.1 MB, free: 111.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/0.2471, allocations: 0 / 456.1 MB, free: 111.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05038/0.2975, allocations: 55.48 MB / 0.4996 GB, free: 62.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.188/8.486, allocations: 4 kB / 0.4996 GB, free: 62.16 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.207590410485864]