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.002515/0.002515, allocations: 99.86 kB / 20.96 MB, free: 3.457 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.002716/0.002716, allocations: 145.1 kB / 24.26 MB, free: 168 kB / 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 1.539/1.539, allocations: 173.3 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.965e-05/3.149e-05, allocations: 2.312 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01173/0.01176, allocations: 7.584 MB / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006077/0.01784, allocations: 2.629 MB / 277.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008492/0.01869, allocations: 87.38 kB / 277.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.02007, allocations: 0.5858 MB / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002133/0.0222, allocations: 0.7918 MB / 279 MB, free: 11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009469/0.02315, allocations: 423.3 kB / 279.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004421/0.02757, allocations: 3.396 MB / 282.8 MB, free: 7.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003808/0.03137, allocations: 1.968 MB / 284.8 MB, free: 5.152 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005489/0.03686, allocations: 2.527 MB / 287.3 MB, free: 2.652 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004209/0.04107, allocations: 2.004 MB / 289.3 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008707/0.04194, allocations: 460 kB / 289.8 MB, free: 200 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.108/0.1499, allocations: 0.6471 MB / 290.4 MB, free: 19.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001553/0.1515, allocations: 1.31 MB / 291.7 MB, free: 19.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002231/0.1537, allocations: 1.38 MB / 293.1 MB, free: 19.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006824/0.1605, allocations: 6.235 MB / 299.3 MB, free: 18.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.1605, allocations: 0 / 299.3 MB, free: 18.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1605, allocations: 0 / 299.3 MB, free: 18.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000183/0.1607, allocations: 1.062 kB / 299.3 MB, free: 18.95 MB / 266.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.01016/0.1709, allocations: 4.335 MB / 303.7 MB, free: 16.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1709, allocations: 10.61 kB / 303.7 MB, free: 16.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.1725, allocations: 0.6315 MB / 304.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004186/0.1767, allocations: 1.965 MB / 306.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.1768, allocations: 219.4 kB / 306.5 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004831/0.1773, allocations: 291.9 kB / 306.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006914/0.1842, allocations: 4.264 MB / 311 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.287e-05/0.1843, allocations: 3.938 kB / 311 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000285/0.1846, allocations: 119.1 kB / 311.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001442/0.1847, allocations: 139.2 kB / 311.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005008/0.1897, allocations: 2.843 MB / 314.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0212/0.2109, allocations: 12.63 MB / 326.8 MB, free: 14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002584/0.2135, allocations: 1.315 MB / 328.1 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00265/0.2162, allocations: 1.134 MB / 329.2 MB, free: 11.58 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002571/0.2164, allocations: 56.97 kB / 329.3 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.591e-05/0.2165, allocations: 54.39 kB / 329.3 MB, free: 11.46 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 3.707e-06/0.2165, allocations: 0 / 329.3 MB, free: 11.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=133): time 0.009465/0.2259, allocations: 3.912 MB / 333.2 MB, free: 7.535 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.493e-05/0.226, allocations: 102 kB / 333.3 MB, free: 7.422 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00318/0.2292, allocations: 1.94 MB / 335.3 MB, free: 5.457 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.2293, allocations: 48.2 kB / 335.3 MB, free: 5.406 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001451/0.2308, allocations: 1.535 MB / 336.8 MB, free: 3.863 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005655/0.2313, allocations: 0.5148 MB / 337.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006229/0.232, allocations: 335 kB / 337.7 MB, free: 3.027 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002495/0.2322, allocations: 480.7 kB / 338.2 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.2333, allocations: 0.5426 MB / 338.7 MB, free: 2.012 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002017/0.2353, allocations: 1.134 MB / 339.8 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003255/0.2386, allocations: 1.771 MB / 341.6 MB, free: 14.76 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/0.2386, allocations: 4 kB / 341.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004474/0.2431, allocations: 2.035 MB / 343.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.2431, allocations: 11.94 kB / 343.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/0.2431, allocations: 12 kB / 343.7 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002265/0.2454, allocations: 487.8 kB / 344.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.2469, allocations: 334.5 kB / 344.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006679/0.2535, allocations: 4.481 MB / 349 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.255, allocations: 87.5 kB / 349 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/0.2552, allocations: 60 kB / 349.1 MB, free: 7.258 MB / 298.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.001855/0.257, allocations: 0.8836 MB / 350 MB, free: 6.383 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005731/0.2576, allocations: 230.8 kB / 350.2 MB, free: 6.156 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003443/0.261, allocations: 1.582 MB / 351.8 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.634e-05/0.2611, allocations: 19.94 kB / 351.8 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.2611, allocations: 4 kB / 351.8 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.2611, allocations: 11.97 kB / 351.8 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/0.2711, allocations: 4.752 MB / 356.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.2711, allocations: 0 / 356.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.2722, allocations: 224.8 kB / 356.8 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002102/0.2743, allocations: 443.6 kB / 357.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.2744, allocations: 41.56 kB / 357.3 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005893/0.2803, allocations: 4.21 MB / 361.5 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2803, allocations: 4 kB / 361.5 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00448/0.2848, allocations: 2.278 MB / 363.8 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/0.2859, allocations: 341.8 kB / 364.1 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002427/0.2861, allocations: 35.98 kB / 364.1 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009995/0.2871, allocations: 95.88 kB / 364.2 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002478/0.2874, allocations: 104.5 kB / 364.3 MB, free: 7.867 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/0.2875, allocations: 36 kB / 364.4 MB, free: 7.832 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001974/0.2895, allocations: 1.139 MB / 365.5 MB, free: 6.695 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2895, allocations: 4 kB / 365.5 MB, free: 6.691 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002116/0.2916, allocations: 0.5506 MB / 366.1 MB, free: 6.145 MB / 314.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.0007421/0.2924, allocations: 224.3 kB / 366.3 MB, free: 5.938 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003399/0.2958, allocations: 1.77 MB / 368 MB, free: 4.195 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.2958, allocations: 4 kB / 368 MB, free: 4.191 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001985/0.2978, allocations: 1.009 MB / 369.1 MB, free: 3.184 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/0.2997, allocations: 441.6 kB / 369.5 MB, free: 2.762 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009995/0.3097, allocations: 5.193 MB / 374.7 MB, free: 13.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002371/0.3121, allocations: 1.711 MB / 376.4 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001305/0.3134, allocations: 365.9 kB / 376.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004249/0.3138, allocations: 124.5 kB / 376.9 MB, free: 11.26 MB / 330.7 MB Notification: Performance of SimCode: time 1.262e-06/0.3138, allocations: 0 / 376.9 MB, free: 11.26 MB / 330.7 MB Notification: Performance of Templates: time 0.05378/0.3676, allocations: 27.66 MB / 404.5 MB, free: 24 kB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.480323869967833]