Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002505/0.002505, allocations: 95.86 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002496/0.002496, allocations: 153.1 kB / 24.27 MB, free: 164 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 173.3 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.152e-05, allocations: 10.25 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1441/0.1442, allocations: 27.45 MB / 294.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01328/0.1574, allocations: 7.134 MB / 301.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005353/0.1628, allocations: 311.3 kB / 302.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02634/0.1891, allocations: 14 MB / 316.2 MB, free: 6.711 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009839/0.199, allocations: 2.822 MB / 319 MB, free: 4.426 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005167/0.2041, allocations: 1.88 MB / 320.9 MB, free: 2.957 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.02342/0.2276, allocations: 18.93 MB / 339.8 MB, free: 1.902 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05565/0.2832, allocations: 28.2 MB / 368.1 MB, free: 5.469 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0295/0.3127, allocations: 15.25 MB / 383.3 MB, free: 6.227 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02077/0.3335, allocations: 10.93 MB / 394.2 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00727/0.3407, allocations: 2.918 MB / 397.1 MB, free: 8.359 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01031/0.3511, allocations: 3.171 MB / 400.3 MB, free: 5.188 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009241/0.3603, allocations: 5.673 MB / 406 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01609/0.3764, allocations: 7.338 MB / 413.3 MB, free: 8.148 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2924/0.6687, allocations: 39.75 MB / 453.1 MB, free: 63.71 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.6688, allocations: 1.219 kB / 453.1 MB, free: 63.71 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.092e-06/0.6688, allocations: 0.8125 kB / 453.1 MB, free: 63.71 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.001073/0.6698, allocations: 3.391 kB / 453.1 MB, free: 63.71 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.07436/0.7442, allocations: 25.68 MB / 478.8 MB, free: 51.69 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.7442, allocations: 11.34 kB / 478.8 MB, free: 51.69 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05292/0.7971, allocations: 10.85 MB / 489.6 MB, free: 46.79 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02563/0.8228, allocations: 11.11 MB / 0.489 GB, free: 36.62 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009112/0.8237, allocations: 1.34 MB / 0.4903 GB, free: 35.29 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007773/0.8315, allocations: 1.761 MB / 0.492 GB, free: 33.54 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06699/0.8985, allocations: 29.97 MB / 0.5213 GB, free: 3.457 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005862/0.899, allocations: 15.23 kB / 0.5213 GB, free: 3.445 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00639/0.9054, allocations: 0.7329 MB / 0.522 GB, free: 2.727 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005848/0.906, allocations: 0.8415 MB / 0.5228 GB, free: 1.883 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05499/0.961, allocations: 22.24 MB / 0.5446 GB, free: 11.62 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3452/1.306, allocations: 160.5 MB / 0.7013 GB, free: 50.33 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01773/1.324, allocations: 12.15 MB / 0.7131 GB, free: 40.22 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007183/1.331, allocations: 4.567 MB / 0.7176 GB, free: 35.64 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005417/1.332, allocations: 148.5 kB / 0.7177 GB, free: 35.5 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.427e-05/1.332, allocations: 93.91 kB / 0.7178 GB, free: 35.39 MB / 442.8 MB Notification: Performance of pre-optimization done (n=577): time 9.027e-06/1.332, allocations: 0 / 0.7178 GB, free: 35.39 MB / 442.8 MB Notification: Performance of matching and sorting (n=577): time 0.02905/1.361, allocations: 13.29 MB / 0.7308 GB, free: 22.01 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/1.361, allocations: 137.6 kB / 0.7309 GB, free: 21.85 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0125/1.373, allocations: 9.81 MB / 0.7405 GB, free: 12.12 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009124/1.374, allocations: 121.7 kB / 0.7406 GB, free: 12 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00484/1.379, allocations: 8.834 MB / 0.7493 GB, free: 3.156 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002375/1.381, allocations: 2.297 MB / 0.7515 GB, free: 0.8867 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1786/1.56, allocations: 2.824 MB / 0.7543 GB, free: 118.7 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.426e-05/1.56, allocations: 487.1 kB / 0.7547 GB, free: 118.2 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01121/1.571, allocations: 4.023 MB / 0.7587 GB, free: 118.2 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01408/1.585, allocations: 11.6 MB / 0.77 GB, free: 109.5 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01686/1.602, allocations: 17.36 MB / 0.7869 GB, free: 99.98 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003006/1.603, allocations: 44.94 kB / 0.787 GB, free: 99.98 MB / 442.8 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.0219/1.624, allocations: 14.54 MB / 0.8012 GB, free: 98.54 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001745/1.625, allocations: 76.62 kB / 0.8013 GB, free: 98.54 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000356/1.625, allocations: 162.7 kB / 0.8014 GB, free: 98.54 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006965/1.632, allocations: 1.98 MB / 0.8033 GB, free: 98.42 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007993/1.64, allocations: 2.351 MB / 0.8056 GB, free: 98.24 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01414/1.654, allocations: 11.95 MB / 0.8173 GB, free: 94.28 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007762/1.662, allocations: 1.361 MB / 0.8186 GB, free: 93.77 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001541/1.663, allocations: 0.5318 MB / 0.8192 GB, free: 93.69 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.009778/1.673, allocations: 6.633 MB / 0.8256 GB, free: 89.38 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001457/1.675, allocations: 0.8045 MB / 0.8264 GB, free: 88.57 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/1.687, allocations: 9.552 MB / 0.8358 GB, free: 78.9 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008313/1.696, allocations: 6.714 MB / 0.8423 GB, free: 72.1 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.266e-05/1.696, allocations: 15.38 kB / 0.8423 GB, free: 72.09 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.637e-05/1.696, allocations: 35.16 kB / 0.8424 GB, free: 72.06 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05084/1.746, allocations: 28.22 MB / 0.8699 GB, free: 43.58 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.536e-05/1.747, allocations: 8 kB / 0.8699 GB, free: 43.57 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004216/1.751, allocations: 1.01 MB / 0.8709 GB, free: 42.56 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0103/1.761, allocations: 1.78 MB / 0.8727 GB, free: 40.78 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001215/1.762, allocations: 129.1 kB / 0.8728 GB, free: 40.66 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02071/1.783, allocations: 11.51 MB / 0.884 GB, free: 29.04 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/1.783, allocations: 15.92 kB / 0.884 GB, free: 29.03 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.026/1.809, allocations: 12.29 MB / 0.896 GB, free: 16.34 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005151/1.814, allocations: 1.271 MB / 0.8973 GB, free: 15.06 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001662/1.816, allocations: 108 kB / 0.8974 GB, free: 14.96 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004354/1.82, allocations: 323.6 kB / 0.8977 GB, free: 14.64 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001061/1.821, allocations: 425.1 kB / 0.8981 GB, free: 14.22 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005195/1.822, allocations: 164 kB / 0.8982 GB, free: 14.06 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.007169/1.829, allocations: 4.816 MB / 0.903 GB, free: 9.27 MB / 442.8 MB Notification: Performance of sort global known variables: time 2.6e-07/1.829, allocations: 0 / 0.903 GB, free: 9.27 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01165/1.841, allocations: 4.11 MB / 0.907 GB, free: 5.145 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.001212/1.842, allocations: 325.3 kB / 0.9073 GB, free: 4.836 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.2239/2.066, allocations: 11.02 MB / 0.918 GB, free: 107.9 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.079e-05/2.066, allocations: 0 / 0.918 GB, free: 107.9 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0107/2.076, allocations: 4.305 MB / 0.9222 GB, free: 107.4 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008081/2.084, allocations: 1.499 MB / 0.9237 GB, free: 107.3 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04275/2.127, allocations: 27.96 MB / 0.951 GB, free: 98.36 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01108/2.138, allocations: 9.794 MB / 0.9606 GB, free: 97.51 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.007306/2.146, allocations: 3.194 MB / 0.9637 GB, free: 96.84 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001612/2.147, allocations: 0.5082 MB / 0.9642 GB, free: 96.82 MB / 442.8 MB Notification: Performance of SimCode: time 1.533e-06/2.147, allocations: 0 / 0.9642 GB, free: 96.82 MB / 442.8 MB Notification: Performance of Templates: time 0.1397/2.287, allocations: 89.14 MB / 1.051 GB, free: 12.87 MB / 442.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 9.61007251299452]