Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.0008266/0.0008266, allocations: 76.08 kB / 20.67 MB, free: 3.887 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.001155/0.001155, allocations: 149.1 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.9164/0.9164, allocations: 173.4 MB / 200.4 MB, free: 9.453 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.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.679e-05, allocations: 7.688 kB / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.006412/0.006439, allocations: 6.892 MB / 325.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004445/0.01088, allocations: 2.555 MB / 327.9 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.01214, allocations: 87.38 kB / 328 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.01369, allocations: 0.578 MB / 328.5 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002893/0.01658, allocations: 0.7918 MB / 329.3 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.01772, allocations: 427.2 kB / 329.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003454/0.02117, allocations: 3.396 MB / 333.2 MB, free: 7.574 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002568/0.02374, allocations: 1.949 MB / 335.1 MB, free: 5.566 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003734/0.02747, allocations: 2.468 MB / 337.6 MB, free: 3.105 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002936/0.03041, allocations: 1.832 MB / 339.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009645/0.03137, allocations: 460 kB / 339.9 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.0326, allocations: 0.6557 MB / 340.5 MB, free: 164 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009707/0.03357, allocations: 1.294 MB / 341.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001702/0.03527, allocations: 1.353 MB / 343.2 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005051/0.04032, allocations: 6.198 MB / 349.4 MB, free: 7.289 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.04033, allocations: 0 / 349.4 MB, free: 7.289 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.04033, allocations: 0 / 349.4 MB, free: 7.289 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001438/0.04047, allocations: 0 / 349.4 MB, free: 7.289 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.006222/0.0467, allocations: 3.77 MB / 353.1 MB, free: 3.469 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.04674, allocations: 8.922 kB / 353.1 MB, free: 3.461 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004929/0.04723, allocations: 437.8 kB / 353.6 MB, free: 3.023 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007294/0.04796, allocations: 410.6 kB / 354 MB, free: 2.621 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002834/0.0508, allocations: 2.095 MB / 356.1 MB, free: 496 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.05094, allocations: 218.2 kB / 356.3 MB, free: 276 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004013/0.05134, allocations: 292.1 kB / 356.6 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006506/0.05785, allocations: 4.445 MB / 361 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.298e-05/0.05789, allocations: 0 / 361 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002567/0.05815, allocations: 120 kB / 361.1 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001267/0.05827, allocations: 145.9 kB / 361.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005034/0.06331, allocations: 3.486 MB / 364.7 MB, free: 7.668 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01497/0.07828, allocations: 9.711 MB / 374.5 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.08007, allocations: 1.644 MB / 376.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/0.08163, allocations: 1.407 MB / 377.5 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/0.08179, allocations: 53.02 kB / 377.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.08183, allocations: 47.5 kB / 377.6 MB, free: 10.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 3.526e-06/0.08183, allocations: 3.938 kB / 377.6 MB, free: 10.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=133): time 0.007212/0.08904, allocations: 5.121 MB / 382.7 MB, free: 5.441 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.0891, allocations: 90.42 kB / 382.8 MB, free: 5.336 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/0.09149, allocations: 1.933 MB / 384.7 MB, free: 3.398 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001334/0.09162, allocations: 49.69 kB / 384.8 MB, free: 3.344 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006902/0.09231, allocations: 1.357 MB / 386.2 MB, free: 1.973 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003313/0.09264, allocations: 472 kB / 386.6 MB, free: 1.508 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003433/0.09299, allocations: 271.5 kB / 386.9 MB, free: 1.238 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.17e-05/0.09308, allocations: 301.1 kB / 387.2 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009894/0.09407, allocations: 0.812 MB / 388 MB, free: 132 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.09541, allocations: 1.208 MB / 389.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001943/0.09736, allocations: 2.086 MB / 391.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.09737, allocations: 4 kB / 391.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003328/0.1007, allocations: 2.524 MB / 393.8 MB, free: 10 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.1007, allocations: 12 kB / 393.8 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.1007, allocations: 8 kB / 393.8 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.1018, allocations: 479.1 kB / 394.3 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007376/0.1026, allocations: 331.5 kB / 394.6 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003965/0.1065, allocations: 4.232 MB / 398.9 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.1077, allocations: 83.88 kB / 398.9 MB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.1078, allocations: 79.97 kB / 399 MB, free: 4.688 MB / 362.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.001517/0.1093, allocations: 1.044 MB / 400.1 MB, free: 3.633 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004303/0.1097, allocations: 194.8 kB / 400.2 MB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002499/0.1122, allocations: 2.137 MB / 402.4 MB, free: 1.293 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.918e-05/0.1123, allocations: 16 kB / 402.4 MB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.1123, allocations: 4 kB / 402.4 MB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.1123, allocations: 7.969 kB / 402.4 MB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006608/0.1189, allocations: 4.873 MB / 407.3 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.1189, allocations: 0 / 407.3 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005377/0.1194, allocations: 227.6 kB / 407.5 MB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009457/0.1204, allocations: 456.5 kB / 408 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.033e-05/0.1205, allocations: 31.98 kB / 408 MB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004063/0.1245, allocations: 4.145 MB / 412.1 MB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1245, allocations: 4.031 kB / 412.1 MB, free: 7.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003744/0.1283, allocations: 3.256 MB / 415.4 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008615/0.1292, allocations: 394.6 kB / 415.8 MB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/0.1294, allocations: 28 kB / 415.8 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005893/0.13, allocations: 91.89 kB / 415.9 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/0.1302, allocations: 104.8 kB / 416 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.848e-05/0.1302, allocations: 39.98 kB / 416 MB, free: 3.395 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001912/0.1321, allocations: 1.334 MB / 417.4 MB, free: 2.066 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1321, allocations: 0 / 417.4 MB, free: 2.066 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001507/0.1337, allocations: 0.5623 MB / 417.9 MB, free: 1.504 MB / 378.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.003995/0.1377, allocations: 3.927 MB / 421.9 MB, free: 13.53 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002661/0.1403, allocations: 2.126 MB / 424 MB, free: 11.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.1403, allocations: 7.938 kB / 424 MB, free: 11.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00154/0.1419, allocations: 1.152 MB / 425.1 MB, free: 10.22 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/0.1439, allocations: 0.5116 MB / 425.7 MB, free: 9.711 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03083/0.1747, allocations: 20.62 MB / 446.3 MB, free: 4.527 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001788/0.1765, allocations: 1.86 MB / 448.1 MB, free: 2.629 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001174/0.1777, allocations: 495.4 kB / 448.6 MB, free: 2.141 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/0.1788, allocations: 1.07 MB / 449.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.693e-06/0.1788, allocations: 3.938 kB / 449.7 MB, free: 1.066 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2017/0.3805, allocations: 55.45 MB / 0.4933 GB, free: 73.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.247/8.627, allocations: 0 / 0.4933 GB, free: 73.17 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable transformer.l2sigma.inductor[1].i in file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv. Warning: Get data of variable transformer.l2sigma.inductor[1].i from file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.456473615020514]