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.0008787/0.0008787, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.00121/0.00121, allocations: 156.8 kB / 25.44 MB, free: 8.855 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.9446/0.9446, allocations: 158.6 MB / 187.2 MB, free: 3.062 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: 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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 299.7 MB, free: 6.914 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.236e-05, allocations: 2.281 kB / 299.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.00603/0.006053, allocations: 6.838 MB / 306.6 MB, free: 28 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004572/0.01062, allocations: 2.622 MB / 309.2 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006991/0.01132, allocations: 79.38 kB / 309.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009357/0.01226, allocations: 0.5858 MB / 309.8 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.01358, allocations: 0.7918 MB / 310.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000689/0.01427, allocations: 447.2 kB / 311.1 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002163/0.01643, allocations: 3.517 MB / 314.6 MB, free: 7.965 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002016/0.01845, allocations: 1.852 MB / 316.4 MB, free: 6.055 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002383/0.02083, allocations: 2.482 MB / 318.9 MB, free: 3.578 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.0223, allocations: 1.816 MB / 320.7 MB, free: 1.758 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003112/0.02261, allocations: 467.9 kB / 321.2 MB, free: 1.301 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006563/0.02327, allocations: 0.6596 MB / 321.9 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006617/0.02393, allocations: 1.286 MB / 323.1 MB, free: 15.35 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.02504, allocations: 1.357 MB / 324.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003485/0.02853, allocations: 6.182 MB / 330.7 MB, free: 7.793 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.02853, allocations: 4 kB / 330.7 MB, free: 7.789 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.02853, allocations: 0 / 330.7 MB, free: 7.789 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.39e-05/0.02857, allocations: 0 / 330.7 MB, free: 7.789 MB / 314.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.004038/0.0326, allocations: 3.754 MB / 334.4 MB, free: 3.984 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.03264, allocations: 8.031 kB / 334.4 MB, free: 3.977 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005611/0.03321, allocations: 414.6 kB / 334.8 MB, free: 3.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.03517, allocations: 1.9 MB / 336.7 MB, free: 1.629 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.03528, allocations: 226.2 kB / 337 MB, free: 1.406 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002717/0.03555, allocations: 288.3 kB / 337.3 MB, free: 1.125 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004548/0.0401, allocations: 4.445 MB / 341.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.815e-05/0.04014, allocations: 0 / 341.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/0.04032, allocations: 120 kB / 341.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/0.04042, allocations: 137.9 kB / 341.9 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003809/0.04423, allocations: 3.486 MB / 345.4 MB, free: 8.812 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1383/0.1825, allocations: 9.248 MB / 354.7 MB, free: 54.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001977/0.1845, allocations: 1.641 MB / 356.3 MB, free: 54.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.186, allocations: 1.414 MB / 357.7 MB, free: 54.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/0.1861, allocations: 47.91 kB / 357.8 MB, free: 54.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.1861, allocations: 52.64 kB / 357.8 MB, free: 54.76 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 2.655e-06/0.1861, allocations: 0 / 357.8 MB, free: 54.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=133): time 0.006051/0.1922, allocations: 5.143 MB / 363 MB, free: 52.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.1922, allocations: 92.17 kB / 363.1 MB, free: 52.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/0.1939, allocations: 1.725 MB / 364.8 MB, free: 52.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/0.194, allocations: 48.33 kB / 364.8 MB, free: 52.1 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004266/0.1944, allocations: 1.366 MB / 366.2 MB, free: 51.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.1946, allocations: 473.5 kB / 366.7 MB, free: 50.94 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000261/0.1948, allocations: 275.6 kB / 366.9 MB, free: 50.81 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.927e-05/0.1949, allocations: 301.1 kB / 367.2 MB, free: 50.51 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007342/0.1956, allocations: 0.8148 MB / 368 MB, free: 50.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007597/0.1964, allocations: 1.21 MB / 369.3 MB, free: 49.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/0.1979, allocations: 2.093 MB / 371.3 MB, free: 48.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.1979, allocations: 7.438 kB / 371.4 MB, free: 48.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.002138/0.2, allocations: 2.51 MB / 373.9 MB, free: 47.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2, allocations: 11.06 kB / 373.9 MB, free: 47.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.2, allocations: 11.09 kB / 373.9 MB, free: 47.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008268/0.2009, allocations: 487.1 kB / 374.4 MB, free: 47.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006002/0.2015, allocations: 336.5 kB / 374.7 MB, free: 47.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/0.2041, allocations: 4.204 MB / 378.9 MB, free: 43.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005699/0.2047, allocations: 93.89 kB / 379 MB, free: 42.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.611e-05/0.2047, allocations: 63.98 kB / 379.1 MB, free: 42.9 MB / 330.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.001077/0.2058, allocations: 1.044 MB / 380.1 MB, free: 41.85 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.206, allocations: 178.9 kB / 380.3 MB, free: 41.67 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001699/0.2077, allocations: 2.12 MB / 382.4 MB, free: 39.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/0.2077, allocations: 19.98 kB / 382.4 MB, free: 39.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2077, allocations: 8 kB / 382.4 MB, free: 39.51 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/0.2077, allocations: 11.86 kB / 382.4 MB, free: 39.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004077/0.2118, allocations: 4.477 MB / 386.9 MB, free: 34.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.2118, allocations: 4 kB / 386.9 MB, free: 34.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000445/0.2123, allocations: 231.9 kB / 387.1 MB, free: 34.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007524/0.213, allocations: 445.4 kB / 387.6 MB, free: 34.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.251e-05/0.2131, allocations: 38.64 kB / 387.6 MB, free: 34.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/0.2155, allocations: 4.106 MB / 391.7 MB, free: 30.08 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.2155, allocations: 4 kB / 391.7 MB, free: 30.08 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/0.2178, allocations: 3.234 MB / 395 MB, free: 26.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004083/0.2182, allocations: 370.7 kB / 395.3 MB, free: 26.44 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.2183, allocations: 30.5 kB / 395.3 MB, free: 26.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00045/0.2188, allocations: 103.7 kB / 395.4 MB, free: 26.31 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.2189, allocations: 100.7 kB / 395.5 MB, free: 26.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/0.219, allocations: 43.98 kB / 395.6 MB, free: 26.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008612/0.2198, allocations: 1.182 MB / 396.8 MB, free: 24.99 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2198, allocations: 0 / 396.8 MB, free: 24.99 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001103/0.2209, allocations: 0.5558 MB / 397.3 MB, free: 24.44 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.0003541/0.2213, allocations: 215.9 kB / 397.5 MB, free: 24.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.2231, allocations: 2.121 MB / 399.7 MB, free: 22.1 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.2231, allocations: 0 / 399.7 MB, free: 22.1 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.2241, allocations: 1.176 MB / 400.8 MB, free: 20.9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009627/0.2251, allocations: 414.9 kB / 401.2 MB, free: 20.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004971/0.2301, allocations: 5.735 MB / 407 MB, free: 14.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000973/0.2311, allocations: 1.801 MB / 408.8 MB, free: 12.9 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.2313, allocations: 140.5 kB / 408.9 MB, free: 12.77 MB / 330.7 MB Notification: Performance of SimCode: time 7.92e-07/0.2313, allocations: 4 kB / 408.9 MB, free: 12.76 MB / 330.7 MB Notification: Performance of Templates: time 0.03859/0.2699, allocations: 50.67 MB / 459.6 MB, free: 10 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.53758748061955]