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.001281/0.001281, allocations: 83.69 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.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.0008737/0.0008737, allocations: 170 kB / 23.95 MB, free: 0.6055 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.8955/0.8955, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.804e-06/1.804e-06, allocations: 0 / 324.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.735e-05, allocations: 6.219 kB / 324.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.006112/0.00613, allocations: 6.929 MB / 331.5 MB, free: 8.828 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003843/0.009973, allocations: 2.609 MB / 334.1 MB, free: 6.211 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008625/0.01084, allocations: 87.38 kB / 334.2 MB, free: 6.125 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009937/0.01183, allocations: 0.5818 MB / 334.8 MB, free: 5.539 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.01309, allocations: 0.7918 MB / 335.6 MB, free: 4.742 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006247/0.01372, allocations: 431.2 kB / 336 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002006/0.01572, allocations: 3.4 MB / 339.4 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/0.01732, allocations: 1.957 MB / 341.4 MB, free: 14.89 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002331/0.01965, allocations: 2.481 MB / 343.8 MB, free: 12.42 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.02116, allocations: 1.832 MB / 345.7 MB, free: 10.58 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000387/0.02155, allocations: 460 kB / 346.1 MB, free: 10.13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007759/0.02233, allocations: 0.6557 MB / 346.8 MB, free: 9.477 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007317/0.02306, allocations: 1.289 MB / 348.1 MB, free: 8.184 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000982/0.02404, allocations: 1.364 MB / 349.4 MB, free: 6.816 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003805/0.02785, allocations: 6.19 MB / 355.6 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.02785, allocations: 4 kB / 355.6 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.02785, allocations: 0 / 355.6 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.527e-05/0.0279, allocations: 0 / 355.6 MB, free: 0.6055 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.004373/0.03227, allocations: 3.782 MB / 359.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.03231, allocations: 12.03 kB / 359.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003715/0.03268, allocations: 429.9 kB / 359.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007547/0.03344, allocations: 454.5 kB / 360.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002239/0.03568, allocations: 2.114 MB / 362.4 MB, free: 9.719 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.03578, allocations: 222.2 kB / 362.6 MB, free: 9.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002747/0.03606, allocations: 292.1 kB / 362.9 MB, free: 9.215 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004722/0.04078, allocations: 4.442 MB / 367.3 MB, free: 4.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.761e-05/0.04082, allocations: 0 / 367.3 MB, free: 4.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/0.04101, allocations: 119.9 kB / 367.4 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.04111, allocations: 137.9 kB / 367.6 MB, free: 4.406 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003958/0.04507, allocations: 3.493 MB / 371.1 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01077/0.05584, allocations: 9.711 MB / 380.8 MB, free: 6.992 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.05743, allocations: 1.64 MB / 382.4 MB, free: 5.363 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001476/0.05891, allocations: 1.408 MB / 383.8 MB, free: 3.957 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/0.05908, allocations: 52.91 kB / 383.9 MB, free: 3.902 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.05911, allocations: 47.5 kB / 383.9 MB, free: 3.848 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 3.006e-06/0.05911, allocations: 0 / 383.9 MB, free: 3.848 MB / 346.7 MB Notification: Performance of matching and sorting (n=133): time 0.005901/0.06501, allocations: 5.121 MB / 389.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.06506, allocations: 94.42 kB / 389.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/0.06677, allocations: 1.945 MB / 391.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.491e-05/0.06684, allocations: 49.7 kB / 391.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006366/0.06747, allocations: 1.349 MB / 392.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/0.06772, allocations: 479.9 kB / 393 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002776/0.068, allocations: 267.5 kB / 393.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.359e-05/0.06808, allocations: 305.1 kB / 393.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.06922, allocations: 0.8159 MB / 394.3 MB, free: 9.359 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000986/0.07021, allocations: 1.208 MB / 395.5 MB, free: 7.992 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/0.07204, allocations: 2.082 MB / 397.6 MB, free: 5.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.07205, allocations: 4 kB / 397.6 MB, free: 5.766 MB / 362.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.002668/0.07471, allocations: 2.52 MB / 400.1 MB, free: 3.234 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.07474, allocations: 12 kB / 400.2 MB, free: 3.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.07476, allocations: 8 kB / 400.2 MB, free: 3.215 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.0761, allocations: 479.1 kB / 400.6 MB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006913/0.07679, allocations: 331.5 kB / 401 MB, free: 2.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003694/0.08048, allocations: 4.235 MB / 405.2 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006482/0.08113, allocations: 95.92 kB / 405.3 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-05/0.08122, allocations: 59.98 kB / 405.3 MB, free: 13.93 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.001216/0.08243, allocations: 1.055 MB / 406.4 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.08266, allocations: 194.8 kB / 406.6 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/0.08507, allocations: 2.137 MB / 408.7 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.0851, allocations: 23.98 kB / 408.8 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.0851, allocations: 8 kB / 408.8 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/0.08511, allocations: 7.969 kB / 408.8 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005004/0.09011, allocations: 4.865 MB / 413.6 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.09012, allocations: 0 / 413.6 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004986/0.09062, allocations: 231.9 kB / 413.9 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008853/0.0915, allocations: 456.3 kB / 414.3 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.913e-05/0.09156, allocations: 31.98 kB / 414.3 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003523/0.09509, allocations: 4.137 MB / 418.5 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.09509, allocations: 4.031 kB / 418.5 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00304/0.09813, allocations: 3.26 MB / 421.7 MB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000518/0.09865, allocations: 394.6 kB / 422.1 MB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.09877, allocations: 24 kB / 422.1 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007579/0.09953, allocations: 99.95 kB / 422.2 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.09968, allocations: 100.7 kB / 422.3 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.754e-05/0.09974, allocations: 39.98 kB / 422.4 MB, free: 12.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001239/0.101, allocations: 1.346 MB / 423.7 MB, free: 11.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.101, allocations: 0 / 423.7 MB, free: 11.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001088/0.1021, allocations: 0.5546 MB / 424.3 MB, free: 10.71 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.003703/0.1058, allocations: 3.925 MB / 428.2 MB, free: 6.746 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00253/0.1083, allocations: 2.125 MB / 430.3 MB, free: 4.605 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1083, allocations: 3.938 kB / 430.3 MB, free: 4.602 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.1095, allocations: 1.153 MB / 431.5 MB, free: 3.438 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.1107, allocations: 0.5045 MB / 432 MB, free: 2.934 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1574/0.2681, allocations: 20.67 MB / 452.7 MB, free: 114.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/0.2694, allocations: 1.877 MB / 454.5 MB, free: 114.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008458/0.2702, allocations: 0.489 MB / 455 MB, free: 114.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007351/0.271, allocations: 1.067 MB / 456.1 MB, free: 114.1 MB / 410.7 MB Notification: Performance of SimCode: time 4.6e-07/0.271, allocations: 0 / 456.1 MB, free: 114.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05222/0.3232, allocations: 55.49 MB / 0.4996 GB, free: 65.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.322/8.646, allocations: 6.812 kB / 0.4996 GB, free: 65.08 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 & python3 -m fmpy simulate --output-file Modelica_4.1.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_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.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_4.1.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.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv. Warning: Get data of variable transformer.l2sigma.inductor[1].i from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.409590517170727]