Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.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.002569/0.002569, allocations: 87.67 kB / 20.96 MB, free: 3.441 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.002988/0.002988, allocations: 161.3 kB / 24.27 MB, free: 136 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.569/1.569, allocations: 177.1 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.699e-05, allocations: 2.312 kB / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1523/0.1523, allocations: 27.47 MB / 299.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0149/0.1672, allocations: 7.184 MB / 307 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006431/0.1736, allocations: 318.5 kB / 307.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02554/0.1992, allocations: 14 MB / 321.3 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01103/0.2102, allocations: 2.688 MB / 324 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006899/0.2171, allocations: 2.052 MB / 326 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02879/0.2459, allocations: 19.1 MB / 345.1 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05992/0.3058, allocations: 28.22 MB / 373.3 MB, free: 13.2 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03017/0.3359, allocations: 15.26 MB / 388.6 MB, free: 13.96 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0219/0.3578, allocations: 10.93 MB / 399.5 MB, free: 3.016 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007897/0.3657, allocations: 2.922 MB / 402.4 MB, free: 96 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01064/0.3764, allocations: 3.206 MB / 405.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00933/0.3857, allocations: 5.677 MB / 411.3 MB, free: 7.195 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01758/0.4033, allocations: 7.334 MB / 418.7 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2821/0.6854, allocations: 39.77 MB / 458.4 MB, free: 60.95 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.6854, allocations: 0 / 458.4 MB, free: 60.95 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6854, allocations: 2.797 kB / 458.4 MB, free: 60.95 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.001101/0.6865, allocations: 0 / 458.4 MB, free: 60.95 MB / 378.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.06823/0.7548, allocations: 25.69 MB / 484.1 MB, free: 46.98 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.7548, allocations: 7.656 kB / 484.1 MB, free: 46.98 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05104/0.8059, allocations: 10.67 MB / 494.8 MB, free: 41.46 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02615/0.832, allocations: 11.13 MB / 0.4941 GB, free: 30.83 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00101/0.833, allocations: 1.344 MB / 0.4954 GB, free: 29.5 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007755/0.8408, allocations: 1.76 MB / 0.4971 GB, free: 27.75 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07697/0.9177, allocations: 30.01 MB / 0.5264 GB, free: 13.62 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009137/0.9187, allocations: 19.36 kB / 0.5264 GB, free: 13.61 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008552/0.9272, allocations: 0.7289 MB / 0.5271 GB, free: 12.89 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001205/0.9284, allocations: 0.8482 MB / 0.528 GB, free: 12.04 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06804/0.9964, allocations: 22.28 MB / 0.5497 GB, free: 5.738 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3797/1.376, allocations: 160.5 MB / 0.7064 GB, free: 39.58 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01992/1.396, allocations: 12.19 MB / 0.7183 GB, free: 29.44 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008169/1.404, allocations: 4.569 MB / 0.7228 GB, free: 24.86 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006505/1.405, allocations: 176.4 kB / 0.723 GB, free: 24.68 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.944e-05/1.405, allocations: 93.91 kB / 0.7231 GB, free: 24.58 MB / 442.8 MB Notification: Performance of pre-optimization done (n=577): time 1.114e-05/1.405, allocations: 0 / 0.7231 GB, free: 24.58 MB / 442.8 MB Notification: Performance of matching and sorting (n=577): time 0.03409/1.439, allocations: 13.35 MB / 0.7361 GB, free: 11.14 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/1.439, allocations: 141.6 kB / 0.7362 GB, free: 10.98 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0156/1.455, allocations: 9.809 MB / 0.7458 GB, free: 1.258 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00101/1.456, allocations: 117.7 kB / 0.7459 GB, free: 1.137 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.009553/1.465, allocations: 8.861 MB / 0.7546 GB, free: 8.34 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003752/1.469, allocations: 2.294 MB / 0.7568 GB, free: 6.074 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008383/1.477, allocations: 2.841 MB / 0.7596 GB, free: 3.223 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0002598/1.478, allocations: 480.7 kB / 0.7601 GB, free: 2.75 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1626/1.64, allocations: 4.028 MB / 0.764 GB, free: 125.1 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009633/1.65, allocations: 11.61 MB / 0.7753 GB, free: 116.4 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01472/1.665, allocations: 17.39 MB / 0.7923 GB, free: 106.9 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002171/1.665, allocations: 45.28 kB / 0.7924 GB, free: 106.9 MB / 458.8 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02184/1.687, allocations: 14.57 MB / 0.8066 GB, free: 105.5 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001322/1.687, allocations: 73.62 kB / 0.8067 GB, free: 105.5 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002499/1.687, allocations: 163.3 kB / 0.8068 GB, free: 105.5 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0072/1.694, allocations: 1.979 MB / 0.8087 GB, free: 105.4 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007799/1.702, allocations: 2.363 MB / 0.8111 GB, free: 105.2 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01362/1.716, allocations: 11.96 MB / 0.8227 GB, free: 103.1 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007477/1.723, allocations: 1.356 MB / 0.8241 GB, free: 102.7 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001393/1.725, allocations: 0.5359 MB / 0.8246 GB, free: 102.7 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1243): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009724/1.734, allocations: 6.633 MB / 0.8311 GB, free: 99.55 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001464/1.736, allocations: 0.8077 MB / 0.8318 GB, free: 99.13 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01411/1.75, allocations: 9.545 MB / 0.8412 GB, free: 93.61 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009493/1.759, allocations: 6.746 MB / 0.8478 GB, free: 87.34 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-05/1.759, allocations: 12 kB / 0.8478 GB, free: 87.33 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-05/1.759, allocations: 31.89 kB / 0.8478 GB, free: 87.3 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05147/1.811, allocations: 28.3 MB / 0.8754 GB, free: 58.76 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-05/1.811, allocations: 8 kB / 0.8754 GB, free: 58.75 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004011/1.815, allocations: 1.015 MB / 0.8764 GB, free: 57.74 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006666/1.822, allocations: 1.782 MB / 0.8782 GB, free: 55.95 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005682/1.822, allocations: 136 kB / 0.8783 GB, free: 55.82 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01254/1.835, allocations: 11.51 MB / 0.8895 GB, free: 44.2 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/1.835, allocations: 15.69 kB / 0.8896 GB, free: 44.19 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01575/1.851, allocations: 12.33 MB / 0.9016 GB, free: 31.46 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00344/1.854, allocations: 1.283 MB / 0.9029 GB, free: 30.17 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001141/1.855, allocations: 108 kB / 0.903 GB, free: 30.07 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003185/1.858, allocations: 315.7 kB / 0.9033 GB, free: 29.76 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007164/1.859, allocations: 424.2 kB / 0.9037 GB, free: 29.34 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003529/1.859, allocations: 176 kB / 0.9038 GB, free: 29.16 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.006988/1.866, allocations: 4.816 MB / 0.9085 GB, free: 24.38 MB / 458.8 MB Notification: Performance of sort global known variables: time 9e-08/1.866, allocations: 0 / 0.9085 GB, free: 24.38 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01035/1.877, allocations: 4.11 MB / 0.9125 GB, free: 20.25 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.plug_p.reference.gamma) * 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 (528): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008848/1.878, allocations: 330.5 kB / 0.9129 GB, free: 19.94 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01566/1.893, allocations: 11.05 MB / 0.9237 GB, free: 8.832 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/1.893, allocations: 0 / 0.9237 GB, free: 8.832 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.1766/2.07, allocations: 4.31 MB / 0.9279 GB, free: 117.4 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006855/2.077, allocations: 1.488 MB / 0.9293 GB, free: 117.3 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05475/2.131, allocations: 27.81 MB / 0.9565 GB, free: 108.4 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02232/2.154, allocations: 9.792 MB / 0.966 GB, free: 107.6 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.01433/2.168, allocations: 3.201 MB / 0.9692 GB, free: 107.3 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003104/2.171, allocations: 0.5395 MB / 0.9697 GB, free: 107.3 MB / 458.8 MB Notification: Performance of SimCode: time 2.285e-06/2.171, allocations: 0 / 0.9697 GB, free: 107.3 MB / 458.8 MB Notification: Performance of Templates: time 0.1694/2.341, allocations: 90.12 MB / 1.058 GB, free: 28.02 MB / 458.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.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: 10.03431174508296]