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.0009412/0.0009412, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.005306/0.005306, allocations: 165.6 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8669/0.8669, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.24e-05, allocations: 2.281 kB / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.1461/0.1462, allocations: 6.837 MB / 305.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004637/0.1508, allocations: 2.63 MB / 307.9 MB, free: 10.6 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008908/0.1517, allocations: 77.28 kB / 308 MB, free: 10.56 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.1528, allocations: 0.5768 MB / 308.6 MB, free: 10.24 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.1545, allocations: 0.7935 MB / 309.4 MB, free: 9.746 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009085/0.1554, allocations: 452.9 kB / 309.8 MB, free: 9.484 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003372/0.1588, allocations: 3.521 MB / 313.3 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00226/0.1611, allocations: 1.861 MB / 315.2 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00436/0.1654, allocations: 2.464 MB / 317.6 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002894/0.1683, allocations: 1.823 MB / 319.5 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008473/0.1692, allocations: 462 kB / 319.9 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.1704, allocations: 0.6518 MB / 320.6 MB, free: 4.879 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008188/0.1712, allocations: 1.292 MB / 321.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001506/0.1727, allocations: 1.356 MB / 323.2 MB, free: 3.242 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004424/0.1771, allocations: 6.184 MB / 329.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1772, allocations: 3 kB / 329.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1772, allocations: 0 / 329.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001358/0.1773, allocations: 4 kB / 329.4 MB, free: 14.7 MB / 298.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.00715/0.1844, allocations: 3.755 MB / 333.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.1845, allocations: 11.98 kB / 333.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004686/0.185, allocations: 433.9 kB / 333.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007496/0.1857, allocations: 402.6 kB / 334 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002476/0.1882, allocations: 1.91 MB / 335.9 MB, free: 9.133 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.1883, allocations: 226.1 kB / 336.1 MB, free: 8.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003025/0.1886, allocations: 284.3 kB / 336.4 MB, free: 8.629 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005228/0.1938, allocations: 4.442 MB / 340.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/0.1939, allocations: 3.938 kB / 340.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001979/0.1941, allocations: 120 kB / 341 MB, free: 3.957 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/0.1942, allocations: 145.9 kB / 341.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004384/0.1986, allocations: 3.482 MB / 344.6 MB, free: 328 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01237/0.2109, allocations: 9.721 MB / 354.3 MB, free: 6.422 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.2127, allocations: 1.645 MB / 356 MB, free: 4.789 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/0.2142, allocations: 1.408 MB / 357.4 MB, free: 3.383 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/0.2144, allocations: 48.97 kB / 357.4 MB, free: 3.332 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.2144, allocations: 51.5 kB / 357.5 MB, free: 3.273 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 3.566e-06/0.2145, allocations: 0 / 357.5 MB, free: 3.273 MB / 314.7 MB Notification: Performance of matching and sorting (n=133): time 0.007068/0.2215, allocations: 5.16 MB / 362.6 MB, free: 14.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.885e-05/0.2216, allocations: 90.42 kB / 362.7 MB, free: 13.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002317/0.2239, allocations: 1.937 MB / 364.6 MB, free: 12.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.181e-05/0.224, allocations: 49.69 kB / 364.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007264/0.2247, allocations: 1.353 MB / 366 MB, free: 10.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002684/0.225, allocations: 475.9 kB / 366.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.2253, allocations: 271.5 kB / 366.8 MB, free: 9.875 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.917e-05/0.2254, allocations: 301.1 kB / 367.1 MB, free: 9.578 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009746/0.2263, allocations: 0.8159 MB / 367.9 MB, free: 8.762 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.2273, allocations: 1.209 MB / 369.1 MB, free: 7.398 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0021/0.2294, allocations: 2.095 MB / 371.2 MB, free: 5.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/0.2294, allocations: 4 kB / 371.2 MB, free: 5.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.00268/0.2321, allocations: 2.527 MB / 373.7 MB, free: 2.617 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.2321, allocations: 8 kB / 373.7 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.2322, allocations: 16.19 kB / 373.7 MB, free: 2.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009676/0.2331, allocations: 478.4 kB / 374.2 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007187/0.2338, allocations: 339.5 kB / 374.5 MB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003832/0.2377, allocations: 4.243 MB / 378.8 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008616/0.2385, allocations: 91.86 kB / 378.9 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.281e-05/0.2386, allocations: 60 kB / 378.9 MB, free: 13.29 MB / 346.7 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.001377/0.24, allocations: 1.044 MB / 380 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002505/0.2403, allocations: 202.8 kB / 380.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/0.2425, allocations: 2.129 MB / 382.3 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/0.2426, allocations: 16 kB / 382.3 MB, free: 9.871 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2426, allocations: 7.938 kB / 382.3 MB, free: 9.863 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.2426, allocations: 7.969 kB / 382.3 MB, free: 9.855 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005782/0.2484, allocations: 4.881 MB / 387.2 MB, free: 4.895 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.2484, allocations: 0 / 387.2 MB, free: 4.895 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005163/0.2489, allocations: 227.6 kB / 387.4 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008929/0.2498, allocations: 456.7 kB / 387.9 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.521e-05/0.2498, allocations: 35.98 kB / 387.9 MB, free: 4.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00339/0.2532, allocations: 4.141 MB / 392.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2532, allocations: 0 / 392.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003655/0.2569, allocations: 3.249 MB / 395.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007255/0.2576, allocations: 398.7 kB / 395.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.2578, allocations: 28 kB / 395.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005594/0.2583, allocations: 91.89 kB / 395.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.2585, allocations: 108.7 kB / 395.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.464e-05/0.2586, allocations: 40 kB / 396 MB, free: 11.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001708/0.2603, allocations: 1.342 MB / 397.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.2603, allocations: 0 / 397.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001503/0.2618, allocations: 0.5546 MB / 397.9 MB, free: 10.09 MB / 362.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.00451/0.2663, allocations: 3.927 MB / 401.8 MB, free: 6.113 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003003/0.2693, allocations: 2.122 MB / 403.9 MB, free: 3.977 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.2693, allocations: 8.188 kB / 403.9 MB, free: 3.969 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001444/0.2707, allocations: 1.156 MB / 405.1 MB, free: 2.801 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/0.2727, allocations: 0.5166 MB / 405.6 MB, free: 2.281 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02867/0.3014, allocations: 20.68 MB / 426.3 MB, free: 13.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00177/0.3032, allocations: 1.864 MB / 428.1 MB, free: 11.12 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00114/0.3043, allocations: 499.4 kB / 428.6 MB, free: 10.63 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/0.3053, allocations: 1.063 MB / 429.7 MB, free: 9.562 MB / 394.7 MB Notification: Performance of SimCode: time 1.362e-06/0.3053, allocations: 0 / 429.7 MB, free: 9.562 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2051/0.5104, allocations: 55.42 MB / 485.1 MB, free: 140 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.582/9.092, allocations: 9.781 kB / 485.1 MB, free: 139.9 MB / 426.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/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: 10.79297184664756]