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.001468/0.001468, allocations: 76.41 kB / 22.21 MB, free: 2.285 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.001563/0.001563, allocations: 173.8 kB / 25.61 MB, free: 8.898 MB / 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 0.9278/0.9278, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] 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 9.92e-07/9.92e-07, allocations: 0 / 274.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.586e-05/1.685e-05, allocations: 5.406 kB / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.01944/0.01946, allocations: 26.51 MB / 300.7 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01498/0.03444, allocations: 7.154 MB / 307.9 MB, free: 2.633 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00422/0.03866, allocations: 314.4 kB / 308.2 MB, free: 2.324 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01311/0.05178, allocations: 13.61 MB / 321.8 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007717/0.05949, allocations: 2.682 MB / 324.5 MB, free: 1.953 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003759/0.06325, allocations: 2.044 MB / 326.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.3164/0.3797, allocations: 19.11 MB / 345.6 MB, free: 15.7 MB / 314.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1116/0.4913, allocations: 28.21 MB / 373.8 MB, free: 8.996 MB / 314.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02409/0.5154, allocations: 15.26 MB / 389.1 MB, free: 2.125 MB / 314.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01832/0.5337, allocations: 11.63 MB / 400.7 MB, free: 10.13 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 0.007722/0.5415, allocations: 2.918 MB / 403.6 MB, free: 7.215 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009317/0.5508, allocations: 3.202 MB / 406.8 MB, free: 4.055 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 0.008355/0.5591, allocations: 5.678 MB / 412.5 MB, free: 15.08 MB / 346.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01381/0.5729, allocations: 7.334 MB / 419.9 MB, free: 8.09 MB / 346.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0284/0.6013, allocations: 18.34 MB / 438.2 MB, free: 6.887 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.6013, allocations: 1.656 kB / 438.2 MB, free: 6.887 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.262e-06/0.6013, allocations: 0 / 438.2 MB, free: 6.887 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.00074/0.6021, allocations: 0 / 438.2 MB, free: 6.887 MB / 362.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.04339/0.6455, allocations: 22.56 MB / 460.8 MB, free: 1.246 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.6455, allocations: 12.03 kB / 460.8 MB, free: 1.234 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02474/0.6702, allocations: 8.289 MB / 469.1 MB, free: 9.027 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01454/0.6848, allocations: 10.31 MB / 479.4 MB, free: 15.12 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001074/0.6859, allocations: 1.341 MB / 480.7 MB, free: 13.79 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003403/0.6893, allocations: 1.762 MB / 482.5 MB, free: 12.04 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2895/0.9787, allocations: 14.05 MB / 496.5 MB, free: 85.01 MB / 410.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005852/0.9793, allocations: 21.3 kB / 496.5 MB, free: 85.01 MB / 410.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003386/0.9827, allocations: 0.7217 MB / 497.3 MB, free: 85.01 MB / 410.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008526/0.9836, allocations: 0.8445 MB / 498.1 MB, free: 84.97 MB / 410.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01874/1.002, allocations: 5.744 MB / 0.4921 GB, free: 84.54 MB / 410.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09482/1.097, allocations: 70.36 MB / 0.5608 GB, free: 49.7 MB / 410.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00913/1.106, allocations: 8.965 MB / 0.5695 GB, free: 42.89 MB / 410.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002959/1.109, allocations: 2.326 MB / 0.5718 GB, free: 40.61 MB / 410.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003075/1.11, allocations: 176.4 kB / 0.572 GB, free: 40.43 MB / 410.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.846e-05/1.11, allocations: 104 kB / 0.5721 GB, free: 40.32 MB / 410.9 MB Notification: Performance of pre-optimization done (n=577): time 8.496e-06/1.11, allocations: 0 / 0.5721 GB, free: 40.32 MB / 410.9 MB Notification: Performance of matching and sorting (n=577): time 0.01514/1.125, allocations: 7.777 MB / 0.5796 GB, free: 32.51 MB / 410.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/1.125, allocations: 137.6 kB / 0.5798 GB, free: 32.36 MB / 410.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006265/1.131, allocations: 6.219 MB / 0.5858 GB, free: 27.2 MB / 410.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0005777/1.132, allocations: 117.7 kB / 0.586 GB, free: 27.08 MB / 410.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.003717/1.135, allocations: 8.416 MB / 0.5942 GB, free: 19.91 MB / 410.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.001878/1.137, allocations: 2.2 MB / 0.5963 GB, free: 17.83 MB / 410.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002128/1.139, allocations: 2.475 MB / 0.5987 GB, free: 15.54 MB / 410.9 MB Notification: Performance of setup shared object (initialization): time 3.288e-05/1.139, allocations: 482.7 kB / 0.5992 GB, free: 15.07 MB / 410.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/1.141, allocations: 1.07 MB / 0.6003 GB, free: 14 MB / 410.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003036/1.144, allocations: 8.328 MB / 0.6084 GB, free: 2.918 MB / 410.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008841/1.153, allocations: 10.54 MB / 0.6187 GB, free: 6.16 MB / 426.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001823/1.153, allocations: 44 kB / 0.6187 GB, free: 6.117 MB / 426.9 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.01215/1.165, allocations: 8.193 MB / 0.6267 GB, free: 14.91 MB / 442.9 MB Notification: Performance of prepare postOptimizeDAE: time 8.619e-05/1.165, allocations: 73.19 kB / 0.6268 GB, free: 14.84 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001718/1.165, allocations: 164 kB / 0.6269 GB, free: 14.68 MB / 442.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003443/1.169, allocations: 1.579 MB / 0.6285 GB, free: 13.11 MB / 442.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005366/1.174, allocations: 2.199 MB / 0.6306 GB, free: 11.09 MB / 442.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007581/1.182, allocations: 6.938 MB / 0.6374 GB, free: 4.258 MB / 442.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005883/1.187, allocations: 1.175 MB / 0.6386 GB, free: 3.074 MB / 442.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/1.188, allocations: 464 kB / 0.639 GB, free: 2.621 MB / 442.9 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.003858/1.192, allocations: 0.8819 MB / 0.6399 GB, free: 1.906 MB / 442.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001164/1.193, allocations: 0.8084 MB / 0.6407 GB, free: 1.094 MB / 442.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1618/1.355, allocations: 5.434 MB / 0.646 GB, free: 97.05 MB / 442.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004701/1.36, allocations: 2.942 MB / 0.6488 GB, free: 96.78 MB / 442.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-05/1.36, allocations: 10.44 kB / 0.6488 GB, free: 96.78 MB / 442.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.095e-05/1.36, allocations: 28.83 kB / 0.6489 GB, free: 96.78 MB / 442.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02991/1.39, allocations: 17.42 MB / 0.6659 GB, free: 95.46 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.302e-05/1.39, allocations: 8.156 kB / 0.6659 GB, free: 95.46 MB / 442.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002349/1.392, allocations: 0.858 MB / 0.6667 GB, free: 95.46 MB / 442.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002941/1.395, allocations: 1.38 MB / 0.6681 GB, free: 95.42 MB / 442.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003494/1.396, allocations: 138.2 kB / 0.6682 GB, free: 95.42 MB / 442.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006046/1.402, allocations: 6.564 MB / 0.6746 GB, free: 93.4 MB / 442.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.395e-06/1.402, allocations: 13.22 kB / 0.6746 GB, free: 93.4 MB / 442.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/1.412, allocations: 5.643 MB / 0.6801 GB, free: 92.03 MB / 442.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002896/1.415, allocations: 1.164 MB / 0.6813 GB, free: 91.68 MB / 442.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001255/1.416, allocations: 114.7 kB / 0.6814 GB, free: 91.67 MB / 442.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002418/1.418, allocations: 142.7 kB / 0.6815 GB, free: 91.67 MB / 442.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007286/1.419, allocations: 428.1 kB / 0.6819 GB, free: 91.66 MB / 442.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002719/1.419, allocations: 139.5 kB / 0.6821 GB, free: 91.66 MB / 442.9 MB Notification: Performance of sorting global known variables: time 0.003603/1.423, allocations: 2.437 MB / 0.6844 GB, free: 91.43 MB / 442.9 MB Notification: Performance of sort global known variables: time 2.81e-07/1.423, allocations: 4 kB / 0.6844 GB, free: 91.43 MB / 442.9 MB Notification: Performance of remove unused functions: time 0.008992/1.432, allocations: 4.099 MB / 0.6885 GB, free: 90.83 MB / 442.9 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.001057/1.433, allocations: 329.1 kB / 0.6888 GB, free: 90.74 MB / 442.9 MB Notification: Performance of simCode: created initialization part: time 0.007849/1.441, allocations: 6.015 MB / 0.6946 GB, free: 87.25 MB / 442.9 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/1.441, allocations: 0 / 0.6946 GB, free: 87.25 MB / 442.9 MB Notification: Performance of simCode: created simulation system equations: time 0.002961/1.444, allocations: 2.529 MB / 0.6971 GB, free: 85.55 MB / 442.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004048/1.448, allocations: 1.491 MB / 0.6986 GB, free: 84.75 MB / 442.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03088/1.479, allocations: 24.42 MB / 0.7224 GB, free: 64.96 MB / 442.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005416/1.484, allocations: 4.9 MB / 0.7272 GB, free: 61.25 MB / 442.9 MB Notification: Performance of simCode: alias equations: time 0.004111/1.488, allocations: 1.12 MB / 0.7283 GB, free: 60.12 MB / 442.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002905/1.491, allocations: 1.537 MB / 0.7298 GB, free: 58.59 MB / 442.9 MB Notification: Performance of SimCode: time 1.794e-06/1.491, allocations: 0 / 0.7298 GB, free: 58.59 MB / 442.9 MB Notification: Performance of Templates: time 0.2844/1.776, allocations: 100.4 MB / 0.8278 GB, free: 114.7 MB / 458.9 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.621388003695756]