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.001273/0.001273, allocations: 117.9 kB / 18.45 MB, free: 4.609 MB / 14.72 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.001363/0.001363, allocations: 215.3 kB / 21.41 MB, free: 1.648 MB / 14.72 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 1.506/1.506, allocations: 207.6 MB / 231.8 MB, free: 4.059 MB / 174.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 51.92 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1081, allocations: 49.13 MB / 391.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01063/0.1187, allocations: 7.755 MB / 399.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007835/0.1266, allocations: 2.738 MB / 401.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002709/0.1293, allocations: 79.38 kB / 402 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002151/0.1314, allocations: 0.5937 MB / 402.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003223/0.1346, allocations: 0.7536 MB / 403.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.136, allocations: 439.4 kB / 403.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004685/0.1406, allocations: 3.405 MB / 407.2 MB, free: 8.883 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003509/0.1441, allocations: 2.536 MB / 409.7 MB, free: 6.289 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003959/0.1481, allocations: 1.69 MB / 411.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003987/0.1521, allocations: 2.075 MB / 413.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001405/0.1535, allocations: 460 kB / 413.9 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002857/0.1564, allocations: 0.6909 MB / 414.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00225/0.1586, allocations: 1.251 MB / 415.9 MB, free: 120 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004231/0.1628, allocations: 1.968 MB / 417.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00978/0.1726, allocations: 6.112 MB / 423.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.1726, allocations: 4 kB / 423.9 MB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1726, allocations: 0 / 423.9 MB, free: 8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002452/0.1729, allocations: 0 / 423.9 MB, free: 8 MB / 350.1 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.0124/0.1853, allocations: 3.861 MB / 427.8 MB, free: 4.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/0.1853, allocations: 12.03 kB / 427.8 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001221/0.1866, allocations: 429.8 kB / 428.2 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/0.1881, allocations: 406.6 kB / 428.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004967/0.1931, allocations: 1.98 MB / 430.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002957/0.1934, allocations: 217.8 kB / 430.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001116/0.1945, allocations: 291.9 kB / 431.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/0.2045, allocations: 4.187 MB / 435.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.062e-05/0.2046, allocations: 0 / 435.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000316/0.2049, allocations: 116 kB / 435.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001989/0.2051, allocations: 141.9 kB / 435.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006889/0.212, allocations: 3.49 MB / 439 MB, free: 8.703 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02321/0.2352, allocations: 10.82 MB / 449.9 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003249/0.2384, allocations: 2.552 MB / 452.4 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002698/0.2411, allocations: 1.419 MB / 453.8 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002956/0.2414, allocations: 130.1 kB / 454 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.39e-05/0.2415, allocations: 43.56 kB / 454 MB, free: 9.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.697e-06/0.2415, allocations: 0 / 454 MB, free: 9.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.01086/0.2523, allocations: 5.31 MB / 459.3 MB, free: 3.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8e-05/0.2524, allocations: 94.42 kB / 459.4 MB, free: 3.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00335/0.2558, allocations: 1.913 MB / 461.3 MB, free: 1.902 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000224/0.256, allocations: 45.7 kB / 461.4 MB, free: 1.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00114/0.2571, allocations: 1.353 MB / 462.7 MB, free: 496 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005263/0.2577, allocations: 487.9 kB / 463.2 MB, free: 4 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2138/0.4714, allocations: 262.9 kB / 463.5 MB, free: 61.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.731e-05/0.4715, allocations: 306.1 kB / 463.8 MB, free: 61.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002527/0.474, allocations: 0.8184 MB / 464.6 MB, free: 61.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002614/0.4766, allocations: 1.188 MB / 465.8 MB, free: 60.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004233/0.4808, allocations: 2.09 MB / 467.8 MB, free: 60.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.151e-05/0.4809, allocations: 4.125 kB / 467.9 MB, free: 60.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006841/0.4877, allocations: 2.526 MB / 470.4 MB, free: 59.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.814e-05/0.4877, allocations: 9.156 kB / 470.4 MB, free: 59.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.632e-05/0.4878, allocations: 11.28 kB / 470.4 MB, free: 59.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002662/0.4904, allocations: 487.2 kB / 470.9 MB, free: 59.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002456/0.4929, allocations: 333.5 kB / 471.2 MB, free: 59.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008058/0.501, allocations: 4.407 MB / 475.6 MB, free: 56.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002295/0.5032, allocations: 83.5 kB / 475.7 MB, free: 56.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002758/0.5035, allocations: 62.47 kB / 475.7 MB, free: 56.16 MB / 382.1 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.002027/0.5056, allocations: 1.049 MB / 476.8 MB, free: 55.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005403/0.5061, allocations: 201.1 kB / 477 MB, free: 55.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00316/0.5093, allocations: 2.13 MB / 479.1 MB, free: 54.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.254e-05/0.5093, allocations: 15.78 kB / 479.1 MB, free: 54.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.5093, allocations: 7.875 kB / 479.1 MB, free: 54.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.5093, allocations: 7.078 kB / 479.2 MB, free: 54.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007818/0.5171, allocations: 5.174 MB / 484.3 MB, free: 52.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.5171, allocations: 5 kB / 484.3 MB, free: 52.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.5182, allocations: 227.4 kB / 484.6 MB, free: 52.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001596/0.5198, allocations: 460.7 kB / 485 MB, free: 52.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.524e-05/0.5199, allocations: 39.2 kB / 485 MB, free: 52.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003972/0.5238, allocations: 4.29 MB / 489.3 MB, free: 49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5238, allocations: 2.516 kB / 489.3 MB, free: 49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004099/0.5279, allocations: 3.254 MB / 492.6 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009493/0.5289, allocations: 463.7 kB / 493 MB, free: 45.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002478/0.5291, allocations: 32 kB / 493.1 MB, free: 45.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009923/0.5301, allocations: 99.89 kB / 493.2 MB, free: 45.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002292/0.5304, allocations: 96.06 kB / 493.3 MB, free: 45.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.408e-05/0.5304, allocations: 36 kB / 493.3 MB, free: 45.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001608/0.532, allocations: 1.342 MB / 494.6 MB, free: 43.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.532, allocations: 4 kB / 494.6 MB, free: 43.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001643/0.5337, allocations: 0.5478 MB / 495.2 MB, free: 43.28 MB / 382.1 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.004663/0.5384, allocations: 3.936 MB / 499.1 MB, free: 39.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003286/0.5416, allocations: 2.127 MB / 0.4895 GB, free: 37.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.5416, allocations: 4.375 kB / 0.4895 GB, free: 37.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001638/0.5433, allocations: 1.161 MB / 0.4906 GB, free: 36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/0.5457, allocations: 0.5053 MB / 0.4911 GB, free: 35.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02654/0.5722, allocations: 20.61 MB / 0.5113 GB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001659/0.5739, allocations: 2.432 MB / 0.5136 GB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00134/0.5752, allocations: 487.4 kB / 0.5141 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/0.5763, allocations: 1.069 MB / 0.5151 GB, free: 10.38 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5763, allocations: 0 / 0.5151 GB, free: 10.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1102/0.6865, allocations: 52.32 MB / 0.5662 GB, free: 5.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/14.05, allocations: 8 kB / 0.5662 GB, free: 5.922 MB / 430.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/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] "Error: Could not read variable transformer.l2sigma.inductor[1].i in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv. Warning: Get data of variable transformer.l2sigma.inductor[1].i from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.62989766499959]