Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.00136/0.00136, allocations: 89.02 kB / 21.44 MB, free: 276 kB / 14.72 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.001437/0.001437, allocations: 164.2 kB / 24.71 MB, free: 3.543 MB / 14.72 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 1.351/1.351, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] 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.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 299 MB, free: 8.711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.683e-05, allocations: 6.219 kB / 299 MB, free: 8.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.1813/0.1813, allocations: 25.28 MB / 324.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01519/0.1965, allocations: 7.281 MB / 331.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005657/0.2021, allocations: 264.2 kB / 331.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02685/0.229, allocations: 13 MB / 344.8 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.2404, allocations: 3.037 MB / 347.8 MB, free: 7.711 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006878/0.2472, allocations: 2.095 MB / 349.9 MB, free: 6.273 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02317/0.2704, allocations: 19.77 MB / 369.7 MB, free: 8.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05885/0.3293, allocations: 28.4 MB / 398.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02999/0.3593, allocations: 15.59 MB / 413.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02147/0.3807, allocations: 10.23 MB / 423.9 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009795/0.3905, allocations: 2.973 MB / 426.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01176/0.4023, allocations: 3.241 MB / 430.1 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009984/0.4123, allocations: 5.88 MB / 436 MB, free: 5.477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01776/0.43, allocations: 7.502 MB / 443.5 MB, free: 13.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0517/0.4817, allocations: 40.19 MB / 483.7 MB, free: 5.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.4817, allocations: 0 / 483.7 MB, free: 5.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4817, allocations: 0 / 483.7 MB, free: 5.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001018/0.4828, allocations: 0 / 483.7 MB, free: 5.66 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.3619/0.8446, allocations: 23.01 MB / 0.4948 GB, free: 116.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.8447, allocations: 17.88 kB / 0.4948 GB, free: 116.1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06523/0.9099, allocations: 12.37 MB / 0.5069 GB, free: 105.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02618/0.9361, allocations: 10.79 MB / 0.5175 GB, free: 95.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001235/0.9373, allocations: 1.404 MB / 0.5188 GB, free: 93.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008137/0.9454, allocations: 1.831 MB / 0.5206 GB, free: 91.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07409/1.02, allocations: 31.1 MB / 0.551 GB, free: 60.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006741/1.02, allocations: 19.91 kB / 0.551 GB, free: 60.72 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006001/1.026, allocations: 0.7586 MB / 0.5517 GB, free: 59.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007706/1.027, allocations: 0.9762 MB / 0.5527 GB, free: 59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05373/1.081, allocations: 27.76 MB / 0.5798 GB, free: 31.2 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5043/1.585, allocations: 80.7 MB / 0.6586 GB, free: 118.9 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03096/1.616, allocations: 16.88 MB / 0.6751 GB, free: 118.4 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007923/1.624, allocations: 5.539 MB / 0.6805 GB, free: 118.3 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02372/1.648, allocations: 13.92 MB / 0.6941 GB, free: 117.9 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/1.648, allocations: 80.78 kB / 0.6942 GB, free: 117.8 MB / 478.3 MB Notification: Performance of pre-optimization done (n=427): time 1.261e-05/1.648, allocations: 0 / 0.6942 GB, free: 117.8 MB / 478.3 MB Notification: Performance of matching and sorting (n=427): time 0.03299/1.681, allocations: 13.12 MB / 0.707 GB, free: 115.6 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.946e-05/1.681, allocations: 122 kB / 0.7071 GB, free: 115.5 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01209/1.693, allocations: 7.648 MB / 0.7146 GB, free: 112.9 MB / 478.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0008024/1.694, allocations: 91.92 kB / 0.7147 GB, free: 112.9 MB / 478.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.004935/1.699, allocations: 8.833 MB / 0.7233 GB, free: 106 MB / 478.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.00217/1.701, allocations: 1.601 MB / 0.7249 GB, free: 104.7 MB / 478.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003345/1.704, allocations: 2.263 MB / 0.7271 GB, free: 103.4 MB / 478.3 MB Notification: Performance of setup shared object (initialization): time 5.948e-05/1.704, allocations: 301.1 kB / 0.7274 GB, free: 103.1 MB / 478.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005833/1.71, allocations: 4.702 MB / 0.7319 GB, free: 100.6 MB / 478.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008543/1.719, allocations: 10.43 MB / 0.7421 GB, free: 88.22 MB / 478.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01487/1.733, allocations: 15.99 MB / 0.7577 GB, free: 69.46 MB / 478.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001798/1.734, allocations: 56 kB / 0.7578 GB, free: 69.41 MB / 478.3 MB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.0247/1.758, allocations: 15.99 MB / 0.7734 GB, free: 53.4 MB / 478.3 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002373/1.759, allocations: 92.25 kB / 0.7735 GB, free: 53.31 MB / 478.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003138/1.759, allocations: 196 kB / 0.7737 GB, free: 53.12 MB / 478.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005432/1.764, allocations: 1.703 MB / 0.7753 GB, free: 51.41 MB / 478.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008113/1.772, allocations: 2.499 MB / 0.7778 GB, free: 48.91 MB / 478.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01329/1.786, allocations: 11.17 MB / 0.7887 GB, free: 37.65 MB / 478.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009621/1.795, allocations: 1.568 MB / 0.7902 GB, free: 36.07 MB / 478.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002002/1.797, allocations: 0.5976 MB / 0.7908 GB, free: 35.47 MB / 478.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1312): * Single equations (assignments): 1309 * 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.0135/1.811, allocations: 7.402 MB / 0.798 GB, free: 28.05 MB / 478.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00179/1.813, allocations: 0.648 MB / 0.7987 GB, free: 27.4 MB / 478.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/1.826, allocations: 8.039 MB / 0.8065 GB, free: 19.33 MB / 478.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008069/1.834, allocations: 6.449 MB / 0.8128 GB, free: 12.86 MB / 478.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.377e-05/1.834, allocations: 15.94 kB / 0.8128 GB, free: 12.84 MB / 478.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.549e-05/1.834, allocations: 19.92 kB / 0.8129 GB, free: 12.82 MB / 478.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03249/1.866, allocations: 17.3 MB / 0.8298 GB, free: 11.55 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/1.866, allocations: 4.031 kB / 0.8298 GB, free: 11.54 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003484/1.87, allocations: 0.7645 MB / 0.8305 GB, free: 10.78 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00555/1.875, allocations: 1.453 MB / 0.8319 GB, free: 9.316 MB / 494.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004587/1.876, allocations: 99.91 kB / 0.832 GB, free: 9.219 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2208/2.097, allocations: 10.76 MB / 0.8425 GB, free: 143.5 MB / 494.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/2.097, allocations: 3.969 kB / 0.8425 GB, free: 143.5 MB / 494.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01727/2.114, allocations: 11.69 MB / 0.8539 GB, free: 141.5 MB / 494.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003314/2.117, allocations: 1.291 MB / 0.8552 GB, free: 141.1 MB / 494.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001757/2.119, allocations: 83.08 kB / 0.8553 GB, free: 141 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003815/2.123, allocations: 303.4 kB / 0.8556 GB, free: 141 MB / 494.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007922/2.124, allocations: 309.1 kB / 0.8559 GB, free: 140.9 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000283/2.124, allocations: 125.9 kB / 0.856 GB, free: 140.9 MB / 494.3 MB Notification: Performance of sorting global known variables: time 0.007645/2.132, allocations: 4.772 MB / 0.8607 GB, free: 139.3 MB / 494.3 MB Notification: Performance of sort global known variables: time 2e-07/2.132, allocations: 3.938 kB / 0.8607 GB, free: 139.2 MB / 494.3 MB Notification: Performance of remove unused functions: time 0.01272/2.144, allocations: 4.25 MB / 0.8648 GB, free: 138.4 MB / 494.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (381): * Single equations (assignments): 378 * 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.001204/2.146, allocations: 268.8 kB / 0.8651 GB, free: 138.2 MB / 494.3 MB Notification: Performance of simCode: created initialization part: time 0.01493/2.161, allocations: 10.54 MB / 0.8754 GB, free: 134.3 MB / 494.3 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/2.161, allocations: 0 / 0.8754 GB, free: 134.3 MB / 494.3 MB Notification: Performance of simCode: created simulation system equations: time 0.005252/2.166, allocations: 3.656 MB / 0.8789 GB, free: 132.8 MB / 494.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006988/2.173, allocations: 1.436 MB / 0.8803 GB, free: 132.2 MB / 494.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04906/2.222, allocations: 30.36 MB / 0.91 GB, free: 107.9 MB / 494.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01207/2.234, allocations: 11.3 MB / 0.921 GB, free: 99.38 MB / 494.3 MB Notification: Performance of simCode: alias equations: time 0.008344/2.242, allocations: 3.956 MB / 0.9249 GB, free: 95.62 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00134/2.244, allocations: 0.5003 MB / 0.9254 GB, free: 95.11 MB / 494.3 MB Notification: Performance of SimCode: time 1.112e-06/2.244, allocations: 0 / 0.9254 GB, free: 95.11 MB / 494.3 MB Notification: Performance of Templates: time 0.1359/2.38, allocations: 83.93 MB / 1.007 GB, free: 11.15 MB / 494.3 MB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.357482694089413]