Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.0008608/0.0008608, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008158/0.0008158, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.9308/0.9308, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.942e-05, allocations: 6.984 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008286/0.008315, allocations: 6.956 MB / 331.5 MB, free: 8.891 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004765/0.01308, allocations: 2.612 MB / 334.1 MB, free: 6.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.01435, allocations: 95.31 kB / 334.2 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.01599, allocations: 0.5897 MB / 334.8 MB, free: 5.582 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002383/0.01837, allocations: 0.7957 MB / 335.6 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.01953, allocations: 431.2 kB / 336 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003368/0.0229, allocations: 3.423 MB / 339.4 MB, free: 0.918 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002622/0.02552, allocations: 1.949 MB / 341.4 MB, free: 14.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004113/0.02964, allocations: 2.491 MB / 343.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002736/0.03237, allocations: 1.847 MB / 345.7 MB, free: 10.58 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008338/0.03321, allocations: 464 kB / 346.1 MB, free: 10.13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.03458, allocations: 0.6518 MB / 346.8 MB, free: 9.477 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001278/0.03585, allocations: 1.301 MB / 348.1 MB, free: 8.172 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001943/0.0378, allocations: 1.368 MB / 349.5 MB, free: 6.801 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005708/0.04351, allocations: 6.217 MB / 355.7 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.04351, allocations: 4 kB / 355.7 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.04351, allocations: 4 kB / 355.7 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001745/0.04369, allocations: 0 / 355.7 MB, free: 0.5586 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: 778 * Number of variables: 778 Notification: Performance of Generate backend data structure: time 0.00815/0.05184, allocations: 3.786 MB / 359.5 MB, free: 12.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.05189, allocations: 15.98 kB / 359.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005992/0.05249, allocations: 438 kB / 359.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009319/0.05342, allocations: 450.5 kB / 360.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003418/0.05684, allocations: 2.118 MB / 362.5 MB, free: 9.656 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.05697, allocations: 222.2 kB / 362.7 MB, free: 9.438 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004661/0.05743, allocations: 284.4 kB / 363 MB, free: 9.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006424/0.06386, allocations: 4.474 MB / 367.5 MB, free: 4.574 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.295e-05/0.0639, allocations: 7.938 kB / 367.5 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002884/0.06419, allocations: 124 kB / 367.6 MB, free: 4.445 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001308/0.06432, allocations: 149.9 kB / 367.7 MB, free: 4.297 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005398/0.06972, allocations: 3.501 MB / 371.2 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01624/0.08596, allocations: 9.766 MB / 381 MB, free: 6.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/0.08791, allocations: 1.632 MB / 382.6 MB, free: 5.195 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001893/0.0898, allocations: 1.407 MB / 384 MB, free: 3.793 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000192/0.08999, allocations: 48.97 kB / 384.1 MB, free: 3.742 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.09003, allocations: 47.67 kB / 384.1 MB, free: 3.688 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 3.987e-06/0.09003, allocations: 3.938 kB / 384.1 MB, free: 3.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=133): time 0.006858/0.09689, allocations: 5.14 MB / 389.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.09694, allocations: 90.42 kB / 389.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002581/0.09952, allocations: 1.933 MB / 391.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001968/0.09972, allocations: 49.7 kB / 391.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006792/0.1004, allocations: 1.365 MB / 392.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003781/0.1008, allocations: 479.9 kB / 393.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003115/0.1011, allocations: 267.5 kB / 393.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.473e-05/0.1012, allocations: 309.1 kB / 393.7 MB, free: 9.988 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009484/0.1021, allocations: 0.8159 MB / 394.6 MB, free: 9.172 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.1032, allocations: 1.219 MB / 395.8 MB, free: 7.797 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/0.1052, allocations: 2.075 MB / 397.8 MB, free: 5.582 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.1052, allocations: 8 kB / 397.9 MB, free: 5.574 MB / 362.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003422/0.1086, allocations: 2.516 MB / 400.4 MB, free: 3.047 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/0.1087, allocations: 20.17 kB / 400.4 MB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/0.1087, allocations: 8 kB / 400.4 MB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.1099, allocations: 470.9 kB / 400.9 MB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008719/0.1107, allocations: 331.5 kB / 401.2 MB, free: 2.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004292/0.115, allocations: 4.235 MB / 405.4 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.1162, allocations: 83.92 kB / 405.5 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.1163, allocations: 55.98 kB / 405.6 MB, free: 13.75 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.001565/0.1179, allocations: 1.055 MB / 406.6 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004441/0.1183, allocations: 202.8 kB / 406.8 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/0.121, allocations: 2.141 MB / 408.9 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.309e-05/0.121, allocations: 19.98 kB / 409 MB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.121, allocations: 4 kB / 409 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.121, allocations: 3.984 kB / 409 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007491/0.1285, allocations: 4.885 MB / 413.9 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.1285, allocations: 0 / 413.9 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005655/0.1291, allocations: 231.6 kB / 414.1 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/0.1301, allocations: 448.4 kB / 414.5 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.1302, allocations: 35.97 kB / 414.6 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003735/0.1339, allocations: 4.153 MB / 418.7 MB, free: 364 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1339, allocations: 4.031 kB / 418.7 MB, free: 360 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004191/0.1381, allocations: 3.245 MB / 422 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.1391, allocations: 394.6 kB / 422.3 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002623/0.1394, allocations: 31.94 kB / 422.4 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006206/0.14, allocations: 95.97 kB / 422.5 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/0.1402, allocations: 104.6 kB / 422.6 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-05/0.1403, allocations: 39.98 kB / 422.6 MB, free: 12.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00166/0.1419, allocations: 1.346 MB / 424 MB, free: 11.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1419, allocations: 0 / 424 MB, free: 11.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001783/0.1437, allocations: 0.5585 MB / 424.5 MB, free: 10.51 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.004541/0.1483, allocations: 3.914 MB / 428.4 MB, free: 6.551 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002703/0.151, allocations: 2.122 MB / 430.6 MB, free: 4.418 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.151, allocations: 0 / 430.6 MB, free: 4.418 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.1524, allocations: 1.16 MB / 431.7 MB, free: 3.246 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/0.1546, allocations: 0.5072 MB / 432.2 MB, free: 2.742 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1634/0.318, allocations: 20.69 MB / 452.9 MB, free: 112 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/0.3193, allocations: 1.881 MB / 454.8 MB, free: 111.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009144/0.3202, allocations: 0.4904 MB / 455.3 MB, free: 111.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007647/0.321, allocations: 1.069 MB / 456.4 MB, free: 111.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.623e-06/0.321, allocations: 3.938 kB / 456.4 MB, free: 111.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05405/0.375, allocations: 55.53 MB / 0.4999 GB, free: 61.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.379/8.754, allocations: 8 kB / 0.4999 GB, free: 61.66 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv","/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv. Warning: Get data of variable transformer.l2sigma.inductor[1].i from file Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.617202603258193]