Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.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.001478/0.001478, allocations: 96.25 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.001573/0.001573, 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.475/1.475, allocations: 177 MB / 204.4 MB, free: 5.602 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.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.947e-05/3.122e-05, allocations: 2.312 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.148/0.148, allocations: 24.53 MB / 296.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01475/0.1628, allocations: 7.101 MB / 303.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006058/0.1688, allocations: 315 kB / 304.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02472/0.1935, allocations: 12.91 MB / 317 MB, free: 3.332 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009813/0.2033, allocations: 2.674 MB / 319.7 MB, free: 1.141 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005674/0.209, allocations: 2.055 MB / 321.8 MB, free: 15.54 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02616/0.2352, allocations: 19.09 MB / 340.9 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05537/0.2906, allocations: 28.17 MB / 369 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0296/0.3202, allocations: 15.13 MB / 384.2 MB, free: 1.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01887/0.339, allocations: 9.754 MB / 393.9 MB, free: 7.797 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007196/0.3462, allocations: 2.922 MB / 396.8 MB, free: 4.875 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01039/0.3566, allocations: 3.199 MB / 400 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009105/0.3657, allocations: 5.572 MB / 405.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01594/0.3817, allocations: 7.233 MB / 412.9 MB, free: 4.844 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3005/0.6821, allocations: 39.55 MB / 452.4 MB, free: 62.53 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.6821, allocations: 0.8125 kB / 452.4 MB, free: 62.53 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6822, allocations: 0 / 452.4 MB, free: 62.53 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.001042/0.6832, allocations: 1.938 kB / 452.4 MB, free: 62.53 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.06747/0.7507, allocations: 22.07 MB / 474.5 MB, free: 51.75 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.7507, allocations: 15.3 kB / 474.5 MB, free: 51.75 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05083/0.8015, allocations: 10.67 MB / 485.2 MB, free: 46.52 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02683/0.8284, allocations: 12.41 MB / 497.6 MB, free: 34.62 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001185/0.8295, allocations: 1.336 MB / 498.9 MB, free: 33.29 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008491/0.838, allocations: 1.76 MB / 0.4889 GB, free: 31.54 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07636/0.9144, allocations: 29.02 MB / 0.5173 GB, free: 2.418 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005616/0.915, allocations: 19.91 kB / 0.5173 GB, free: 2.398 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006971/0.9219, allocations: 0.7282 MB / 0.518 GB, free: 1.68 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006238/0.9225, allocations: 0.8415 MB / 0.5188 GB, free: 0.8359 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06163/0.9842, allocations: 24.76 MB / 0.543 GB, free: 8.059 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2993/1.284, allocations: 78.48 MB / 0.6196 GB, free: 107.4 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02173/1.305, allocations: 12.81 MB / 0.6322 GB, free: 107 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01175/1.317, allocations: 5.052 MB / 0.6371 GB, free: 105.5 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007449/1.318, allocations: 185.5 kB / 0.6373 GB, free: 105.5 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.556e-05/1.318, allocations: 90.8 kB / 0.6373 GB, free: 105.4 MB / 442.8 MB Notification: Performance of pre-optimization done (n=577): time 1.607e-05/1.318, allocations: 3.984 kB / 0.6374 GB, free: 105.4 MB / 442.8 MB Notification: Performance of matching and sorting (n=577): time 0.05911/1.377, allocations: 14.89 MB / 0.6519 GB, free: 98.34 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/1.377, allocations: 138.6 kB / 0.652 GB, free: 98.23 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0166/1.394, allocations: 6.493 MB / 0.6584 GB, free: 93.25 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001239/1.395, allocations: 117.7 kB / 0.6585 GB, free: 93.12 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005808/1.401, allocations: 7.866 MB / 0.6662 GB, free: 85.25 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003388/1.404, allocations: 2.077 MB / 0.6682 GB, free: 83.2 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007913/1.412, allocations: 2.092 MB / 0.6702 GB, free: 81.1 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 4.447e-05/1.412, allocations: 301.1 kB / 0.6705 GB, free: 80.8 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01185/1.424, allocations: 4.744 MB / 0.6752 GB, free: 76.05 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01636/1.44, allocations: 9.504 MB / 0.6844 GB, free: 64.37 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02826/1.469, allocations: 15.33 MB / 0.6994 GB, free: 46.86 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002259/1.469, allocations: 48 kB / 0.6994 GB, free: 46.82 MB / 442.8 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.04165/1.51, allocations: 15.92 MB / 0.715 GB, free: 30.81 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002154/1.511, allocations: 72 kB / 0.7151 GB, free: 30.74 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003288/1.511, allocations: 160 kB / 0.7152 GB, free: 30.58 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01217/1.523, allocations: 1.985 MB / 0.7172 GB, free: 28.59 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01417/1.537, allocations: 2.363 MB / 0.7195 GB, free: 26.23 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02403/1.561, allocations: 11.32 MB / 0.7305 GB, free: 14.81 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01271/1.574, allocations: 1.358 MB / 0.7318 GB, free: 13.45 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002215/1.576, allocations: 0.5351 MB / 0.7324 GB, free: 12.91 MB / 442.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.01417/1.59, allocations: 7.141 MB / 0.7393 GB, free: 5.75 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001587/1.592, allocations: 0.8122 MB / 0.7401 GB, free: 4.934 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1952/1.787, allocations: 10.07 MB / 0.75 GB, free: 129.6 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01607/1.803, allocations: 7.771 MB / 0.7576 GB, free: 129.4 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.802e-05/1.803, allocations: 17.97 kB / 0.7576 GB, free: 129.4 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.871e-05/1.803, allocations: 27.09 kB / 0.7576 GB, free: 129.4 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05072/1.854, allocations: 21.79 MB / 0.7789 GB, free: 121.5 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.593e-05/1.854, allocations: 7.875 kB / 0.7789 GB, free: 121.5 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005409/1.86, allocations: 1.02 MB / 0.7799 GB, free: 121.4 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008905/1.868, allocations: 1.784 MB / 0.7816 GB, free: 121.1 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009367/1.869, allocations: 131.3 kB / 0.7818 GB, free: 121 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01685/1.886, allocations: 10.88 MB / 0.7924 GB, free: 113 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.334e-05/1.886, allocations: 17.88 kB / 0.7924 GB, free: 113 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02703/1.913, allocations: 14.3 MB / 0.8064 GB, free: 100.6 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005003/1.918, allocations: 1.421 MB / 0.8078 GB, free: 99.26 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002169/1.92, allocations: 115.7 kB / 0.8079 GB, free: 99.15 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005479/1.926, allocations: 319.6 kB / 0.8082 GB, free: 98.84 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001873/1.928, allocations: 431.2 kB / 0.8086 GB, free: 98.41 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009401/1.929, allocations: 176 kB / 0.8087 GB, free: 98.24 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.009391/1.938, allocations: 4.152 MB / 0.8128 GB, free: 94.12 MB / 442.8 MB Notification: Performance of sort global known variables: time 1e-07/1.938, allocations: 4 kB / 0.8128 GB, free: 94.11 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0139/1.952, allocations: 4.11 MB / 0.8168 GB, free: 89.99 MB / 442.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.001556/1.954, allocations: 315.9 kB / 0.8171 GB, free: 89.69 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01927/1.973, allocations: 10.95 MB / 0.8278 GB, free: 78.7 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 3.051e-05/1.973, allocations: 11.56 kB / 0.8278 GB, free: 78.69 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007764/1.981, allocations: 4.355 MB / 0.8321 GB, free: 74.32 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009609/1.99, allocations: 1.494 MB / 0.8335 GB, free: 72.93 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05066/2.041, allocations: 30.16 MB / 0.863 GB, free: 42.47 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0133/2.054, allocations: 10.92 MB / 0.8737 GB, free: 31.48 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.007973/2.062, allocations: 3.851 MB / 0.8774 GB, free: 27.62 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/2.064, allocations: 0.5433 MB / 0.8779 GB, free: 27.08 MB / 442.8 MB Notification: Performance of SimCode: time 2.114e-06/2.064, allocations: 4 kB / 0.8779 GB, free: 27.07 MB / 442.8 MB Notification: Performance of Templates: time 0.3185/2.382, allocations: 90.82 MB / 0.9666 GB, free: 105.8 MB / 458.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 9.883026822004467]