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.001326/0.001326, allocations: 79.55 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001311/0.001311, allocations: 149.7 kB / 23.94 MB, free: 4.164 MB / 14.72 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.392/1.392, allocations: 173.3 MB / 200.4 MB, free: 12.86 MB / 190.1 MB " [Timeout remaining time 179] 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.323e-06/1.323e-06, allocations: 0 / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.512e-05, allocations: 3.469 kB / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.007743/0.007769, allocations: 6.902 MB / 325.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006133/0.0139, allocations: 2.548 MB / 328.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.01551, allocations: 87.81 kB / 328.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.01709, allocations: 0.5798 MB / 329 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002842/0.01993, allocations: 0.7878 MB / 329.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.02109, allocations: 423.8 kB / 330.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004346/0.02543, allocations: 3.407 MB / 333.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002719/0.02815, allocations: 1.944 MB / 335.6 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004348/0.0325, allocations: 2.478 MB / 338.1 MB, free: 7.512 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003043/0.03554, allocations: 1.83 MB / 339.9 MB, free: 6.398 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007317/0.03627, allocations: 462.7 kB / 340.4 MB, free: 6.156 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.03771, allocations: 0.6557 MB / 341 MB, free: 5.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001389/0.0391, allocations: 1.293 MB / 342.3 MB, free: 4.203 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002032/0.04113, allocations: 1.357 MB / 343.7 MB, free: 2.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007294/0.04843, allocations: 6.186 MB / 349.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.04843, allocations: 0 / 349.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.04843, allocations: 4 kB / 349.9 MB, free: 12.63 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001466/0.04858, allocations: 3.938 kB / 349.9 MB, free: 12.63 MB / 318.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.008533/0.05711, allocations: 3.767 MB / 353.6 MB, free: 8.812 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.05716, allocations: 8.922 kB / 353.6 MB, free: 8.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.05818, allocations: 406.6 kB / 354 MB, free: 8.406 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003848/0.06203, allocations: 2.103 MB / 356.1 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/0.06223, allocations: 222.2 kB / 356.3 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004825/0.06271, allocations: 288.3 kB / 356.6 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008245/0.07096, allocations: 4.449 MB / 361.1 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.911e-05/0.07101, allocations: 0 / 361.1 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003785/0.07138, allocations: 124 kB / 361.2 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002011/0.07159, allocations: 141.9 kB / 361.3 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00664/0.07823, allocations: 3.482 MB / 364.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0183/0.09652, allocations: 9.243 MB / 374.1 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00276/0.09928, allocations: 1.644 MB / 375.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002654/0.1019, allocations: 1.415 MB / 377.1 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002263/0.1022, allocations: 44.97 kB / 377.2 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.1022, allocations: 47.56 kB / 377.2 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of pre-optimization done (n=128): time 4.419e-06/0.1022, allocations: 7.938 kB / 377.2 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of matching and sorting (n=133): time 0.009886/0.1121, allocations: 5.109 MB / 382.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.377e-05/0.1122, allocations: 94.42 kB / 382.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002637/0.1148, allocations: 1.713 MB / 384.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.1149, allocations: 49.69 kB / 384.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001071/0.116, allocations: 1.364 MB / 385.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004092/0.1164, allocations: 468 kB / 386 MB, free: 7.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004861/0.1169, allocations: 275.5 kB / 386.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.117, allocations: 301.1 kB / 386.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/0.1184, allocations: 0.8236 MB / 387.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/0.1201, allocations: 1.204 MB / 388.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003174/0.1233, allocations: 2.086 MB / 390.7 MB, free: 3.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.1233, allocations: 4 kB / 390.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004573/0.1279, allocations: 2.508 MB / 393.2 MB, free: 500 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.1279, allocations: 12 kB / 393.2 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.1279, allocations: 8 kB / 393.2 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/0.1299, allocations: 478.9 kB / 393.7 MB, free: 0 / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.1313, allocations: 331.5 kB / 394 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005969/0.1373, allocations: 4.211 MB / 398.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.1385, allocations: 83.88 kB / 398.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/0.1387, allocations: 60 kB / 398.4 MB, free: 11.23 MB / 366.1 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.00188/0.1406, allocations: 1.052 MB / 399.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004352/0.141, allocations: 186.9 kB / 399.6 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003802/0.1448, allocations: 2.116 MB / 401.7 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.04e-05/0.1448, allocations: 20 kB / 401.7 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.1448, allocations: 4 kB / 401.7 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.1449, allocations: 7.969 kB / 401.7 MB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008445/0.1533, allocations: 4.468 MB / 406.2 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.1533, allocations: 8 kB / 406.2 MB, free: 3.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.1544, allocations: 227.6 kB / 406.4 MB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001856/0.1562, allocations: 452.5 kB / 406.9 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/0.1563, allocations: 35.98 kB / 406.9 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006039/0.1624, allocations: 4.119 MB / 411 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1624, allocations: 4.031 kB / 411 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00581/0.1682, allocations: 3.236 MB / 414.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/0.1693, allocations: 366.8 kB / 414.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/0.1695, allocations: 31.92 kB / 414.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.1705, allocations: 95.97 kB / 414.8 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002862/0.1708, allocations: 100.7 kB / 414.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.1709, allocations: 36 kB / 414.9 MB, free: 10.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002018/0.173, allocations: 1.189 MB / 416.1 MB, free: 9.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.173, allocations: 0 / 416.1 MB, free: 9.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001901/0.1749, allocations: 0.5546 MB / 416.6 MB, free: 8.699 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.0006687/0.1755, allocations: 235.8 kB / 416.9 MB, free: 8.469 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004048/0.1796, allocations: 2.128 MB / 419 MB, free: 6.332 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.1796, allocations: 0 / 419 MB, free: 6.332 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002194/0.1818, allocations: 1.154 MB / 420.1 MB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/0.1841, allocations: 412.7 kB / 420.5 MB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.195, allocations: 5.713 MB / 426.3 MB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002367/0.1974, allocations: 1.871 MB / 428.1 MB, free: 13.08 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00143/0.1988, allocations: 469.8 kB / 428.6 MB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004437/0.1992, allocations: 128.5 kB / 428.7 MB, free: 12.49 MB / 398.1 MB Notification: Performance of SimCode: time 1.513e-06/0.1992, allocations: 0 / 428.7 MB, free: 12.49 MB / 398.1 MB Notification: Performance of Templates: time 0.05169/0.2509, allocations: 27.55 MB / 456.3 MB, free: 1.27 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] 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.090825621038675]