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.002002/0.002002, allocations: 100.2 kB / 20.96 MB, free: 3.469 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.002565/0.002565, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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 1.517/1.517, allocations: 177 MB / 204.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 178] 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: 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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.755e-05, allocations: 2.312 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01025/0.01027, allocations: 6.95 MB / 279.2 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005965/0.01624, allocations: 2.624 MB / 281.8 MB, free: 8.195 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.01756, allocations: 95.31 kB / 281.9 MB, free: 8.102 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001501/0.01906, allocations: 0.578 MB / 282.5 MB, free: 7.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.02137, allocations: 0.8113 MB / 283.3 MB, free: 6.703 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009879/0.02236, allocations: 439.2 kB / 283.7 MB, free: 6.273 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004102/0.02646, allocations: 3.423 MB / 287.1 MB, free: 2.836 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00296/0.02942, allocations: 1.945 MB / 289.1 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1241/0.1536, allocations: 2.508 MB / 291.6 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003145/0.1567, allocations: 1.838 MB / 293.4 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009511/0.1577, allocations: 461.8 kB / 293.9 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.1593, allocations: 0.6586 MB / 294.5 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001298/0.1606, allocations: 1.301 MB / 295.8 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002707/0.1633, allocations: 1.364 MB / 297.2 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007403/0.1707, allocations: 6.224 MB / 303.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1707, allocations: 1.094 kB / 303.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1707, allocations: 0 / 303.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002125/0.1709, allocations: 0.6562 kB / 303.4 MB, free: 13.96 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: 778 * Number of variables: 778 Notification: Performance of Generate backend data structure: time 0.009173/0.1801, allocations: 3.799 MB / 307.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1801, allocations: 6.188 kB / 307.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.1818, allocations: 0.6768 MB / 307.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003202/0.185, allocations: 2.208 MB / 310.1 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.1852, allocations: 224.4 kB / 310.3 MB, free: 9.742 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003795/0.1855, allocations: 292.8 kB / 310.6 MB, free: 9.645 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005811/0.1913, allocations: 4.479 MB / 315.1 MB, free: 5.961 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.194e-05/0.1914, allocations: 0 / 315.1 MB, free: 5.961 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002774/0.1917, allocations: 123 kB / 315.2 MB, free: 5.844 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001447/0.1918, allocations: 153.9 kB / 315.4 MB, free: 5.691 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004567/0.1964, allocations: 3.497 MB / 318.8 MB, free: 2.188 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01758/0.214, allocations: 9.466 MB / 328.3 MB, free: 8.828 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002821/0.2168, allocations: 1.635 MB / 329.9 MB, free: 7.215 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002707/0.2195, allocations: 1.417 MB / 331.4 MB, free: 5.809 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002486/0.2197, allocations: 48.97 kB / 331.4 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.2198, allocations: 55.55 kB / 331.5 MB, free: 5.695 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 4.027e-06/0.2198, allocations: 0 / 331.5 MB, free: 5.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=133): time 0.01054/0.2303, allocations: 5.162 MB / 336.6 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.898e-05/0.2304, allocations: 98.36 kB / 336.7 MB, free: 420 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002773/0.2332, allocations: 1.725 MB / 338.5 MB, free: 14.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.2333, allocations: 48.05 kB / 338.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001204/0.2345, allocations: 1.375 MB / 339.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004542/0.235, allocations: 477.6 kB / 340.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005978/0.2355, allocations: 267.5 kB / 340.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.2357, allocations: 305.1 kB / 340.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.2372, allocations: 0.8198 MB / 341.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/0.2389, allocations: 1.199 MB / 342.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003268/0.2422, allocations: 2.082 MB / 345 MB, free: 7.867 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.2422, allocations: 4 kB / 345 MB, free: 7.863 MB / 298.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004914/0.2471, allocations: 2.593 MB / 347.6 MB, free: 5.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.2471, allocations: 14.97 kB / 347.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/0.2472, allocations: 10.81 kB / 347.6 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002355/0.2495, allocations: 0.4952 MB / 348.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.2509, allocations: 329.1 kB / 348.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006273/0.2572, allocations: 4.239 MB / 352.7 MB, free: 208 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.2587, allocations: 79.94 kB / 352.8 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/0.2588, allocations: 59.98 kB / 352.8 MB, free: 68 kB / 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.001978/0.2608, allocations: 1.047 MB / 353.9 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000633/0.2615, allocations: 242.8 kB / 354.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004198/0.2657, allocations: 2.121 MB / 356.2 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-05/0.2657, allocations: 20 kB / 356.2 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.2657, allocations: 4 kB / 356.2 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.2657, allocations: 7.969 kB / 356.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009312/0.275, allocations: 4.483 MB / 360.7 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/0.2751, allocations: 7.938 kB / 360.7 MB, free: 8.137 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.2761, allocations: 221.9 kB / 361 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00217/0.2783, allocations: 484.1 kB / 361.4 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.2784, allocations: 35.98 kB / 361.5 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006112/0.2845, allocations: 4.146 MB / 365.6 MB, free: 3.191 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.2845, allocations: 4.031 kB / 365.6 MB, free: 3.188 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005961/0.2905, allocations: 3.269 MB / 368.9 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.2916, allocations: 370.7 kB / 369.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/0.2918, allocations: 39.92 kB / 369.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.2928, allocations: 91.97 kB / 369.4 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/0.2931, allocations: 105.5 kB / 369.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003316/0.2934, allocations: 36 kB / 369.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002022/0.2954, allocations: 1.19 MB / 370.7 MB, free: 14.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2954, allocations: 0 / 370.7 MB, free: 14.08 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002018/0.2975, allocations: 0.5557 MB / 371.3 MB, free: 13.52 MB / 330.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.0006103/0.2981, allocations: 227.5 kB / 371.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00395/0.302, allocations: 2.123 MB / 373.6 MB, free: 11.22 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.302, allocations: 3.938 kB / 373.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002148/0.3042, allocations: 1.159 MB / 374.8 MB, free: 10.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/0.3063, allocations: 443.8 kB / 375.2 MB, free: 9.648 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.318, allocations: 5.831 MB / 381 MB, free: 3.754 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002508/0.3205, allocations: 1.88 MB / 382.9 MB, free: 1.836 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001596/0.3221, allocations: 469.8 kB / 383.4 MB, free: 1.371 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004554/0.3226, allocations: 128.5 kB / 383.5 MB, free: 1.246 MB / 330.7 MB Notification: Performance of SimCode: time 1.673e-06/0.3226, allocations: 0 / 383.5 MB, free: 1.246 MB / 330.7 MB Notification: Performance of Templates: time 0.05339/0.376, allocations: 27.6 MB / 411.1 MB, free: 6.055 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.610076402896084]