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.001316/0.001316, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 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.001424/0.001424, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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.433/1.433, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 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.423e-06/1.423e-06, allocations: 0 / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.372e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.02857/0.0286, allocations: 24.55 MB / 349.6 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01602/0.04462, allocations: 7.035 MB / 356.7 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006148/0.05077, allocations: 310.4 kB / 357 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03101/0.08177, allocations: 12.93 MB / 369.9 MB, free: 8.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01152/0.09329, allocations: 2.678 MB / 372.6 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00668/0.09997, allocations: 2.029 MB / 374.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02676/0.1267, allocations: 19.11 MB / 393.7 MB, free: 328 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05488/0.1816, allocations: 28.18 MB / 421.9 MB, free: 3.922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02937/0.211, allocations: 15.09 MB / 437 MB, free: 4.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01867/0.2296, allocations: 9.762 MB / 446.7 MB, free: 11.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007091/0.2367, allocations: 2.922 MB / 449.7 MB, free: 8.117 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008885/0.2456, allocations: 3.195 MB / 452.8 MB, free: 4.922 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007509/0.2531, allocations: 5.58 MB / 458.4 MB, free: 15.33 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01577/0.2689, allocations: 7.241 MB / 465.7 MB, free: 8.074 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3368/0.6057, allocations: 39.53 MB / 0.4934 GB, free: 60.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.6057, allocations: 0 / 0.4934 GB, free: 60.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.6057, allocations: 0 / 0.4934 GB, free: 60.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0009343/0.6066, allocations: 1.031 kB / 0.4934 GB, free: 60.91 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: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.06516/0.6718, allocations: 22.07 MB / 0.5149 GB, free: 48.42 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.6718, allocations: 11.62 kB / 0.5149 GB, free: 48.42 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0456/0.7174, allocations: 8.238 MB / 0.523 GB, free: 44.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02454/0.742, allocations: 11.89 MB / 0.5346 GB, free: 36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001018/0.743, allocations: 1.341 MB / 0.5359 GB, free: 34.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008195/0.7512, allocations: 1.759 MB / 0.5376 GB, free: 32.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07266/0.8238, allocations: 29.01 MB / 0.5659 GB, free: 3.805 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008475/0.8247, allocations: 19.89 kB / 0.566 GB, free: 3.785 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007248/0.8319, allocations: 0.7308 MB / 0.5667 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006922/0.8326, allocations: 0.8493 MB / 0.5675 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06079/0.8934, allocations: 24.76 MB / 0.5917 GB, free: 9.438 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3569/1.25, allocations: 76.13 MB / 0.666 GB, free: 126.9 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01882/1.269, allocations: 12.78 MB / 0.6785 GB, free: 126.5 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007452/1.277, allocations: 5.038 MB / 0.6834 GB, free: 126.4 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004369/1.277, allocations: 141.7 kB / 0.6836 GB, free: 126.4 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.166e-05/1.277, allocations: 95.58 kB / 0.6836 GB, free: 126.3 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=577): time 9.428e-06/1.277, allocations: 0 / 0.6836 GB, free: 126.3 MB / 0.4982 GB Notification: Performance of matching and sorting (n=577): time 0.03241/1.309, allocations: 14.68 MB / 0.698 GB, free: 125.6 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.219e-05/1.31, allocations: 136.8 kB / 0.6981 GB, free: 125.4 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0104/1.32, allocations: 6.494 MB / 0.7045 GB, free: 124.9 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0009942/1.321, allocations: 118.3 kB / 0.7046 GB, free: 124.9 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003467/1.324, allocations: 7.863 MB / 0.7122 GB, free: 119.1 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001859/1.326, allocations: 2.077 MB / 0.7143 GB, free: 117.3 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00288/1.329, allocations: 2.093 MB / 0.7163 GB, free: 116.1 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 3.851e-05/1.329, allocations: 305.1 kB / 0.7166 GB, free: 115.8 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005891/1.335, allocations: 4.747 MB / 0.7212 GB, free: 113.3 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007875/1.343, allocations: 9.499 MB / 0.7305 GB, free: 103.8 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0152/1.358, allocations: 15.33 MB / 0.7455 GB, free: 86.11 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001556/1.358, allocations: 44 kB / 0.7455 GB, free: 86.06 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02429/1.383, allocations: 15.4 MB / 0.7606 GB, free: 70.58 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002003/1.383, allocations: 72 kB / 0.7606 GB, free: 70.51 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002253/1.383, allocations: 160 kB / 0.7608 GB, free: 70.35 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00588/1.389, allocations: 1.657 MB / 0.7624 GB, free: 68.69 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008484/1.397, allocations: 2.359 MB / 0.7647 GB, free: 66.33 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/1.411, allocations: 11.25 MB / 0.7757 GB, free: 54.99 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00884/1.42, allocations: 1.348 MB / 0.777 GB, free: 53.63 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002336/1.422, allocations: 0.539 MB / 0.7776 GB, free: 53.09 MB / 0.4982 GB 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.01242/1.435, allocations: 7.146 MB / 0.7845 GB, free: 45.93 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001616/1.436, allocations: 0.6248 MB / 0.7851 GB, free: 45.3 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01679/1.453, allocations: 10.07 MB / 0.795 GB, free: 35.11 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01108/1.464, allocations: 7.773 MB / 0.8026 GB, free: 27.25 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-05/1.464, allocations: 12 kB / 0.8026 GB, free: 27.24 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.97e-05/1.464, allocations: 31.88 kB / 0.8026 GB, free: 27.21 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0479/1.512, allocations: 21.77 MB / 0.8239 GB, free: 5.332 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.59e-05/1.512, allocations: 8 kB / 0.8239 GB, free: 5.324 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004227/1.517, allocations: 1.014 MB / 0.8249 GB, free: 4.309 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005316/1.522, allocations: 1.463 MB / 0.8263 GB, free: 2.84 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001062/1.523, allocations: 132 kB / 0.8264 GB, free: 2.711 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01784/1.541, allocations: 10.8 MB / 0.837 GB, free: 7.832 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.49e-05/1.541, allocations: 15.94 kB / 0.837 GB, free: 7.816 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2552/1.796, allocations: 14.1 MB / 0.8508 GB, free: 154.5 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003904/1.8, allocations: 1.42 MB / 0.8521 GB, free: 154.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001249/1.801, allocations: 114.8 kB / 0.8522 GB, free: 154.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003505/1.805, allocations: 314.4 kB / 0.8525 GB, free: 154.5 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009537/1.806, allocations: 434.7 kB / 0.853 GB, free: 154.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003807/1.806, allocations: 175.7 kB / 0.8531 GB, free: 154.4 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006835/1.813, allocations: 4.156 MB / 0.8572 GB, free: 154.3 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8e-08/1.813, allocations: 0 / 0.8572 GB, free: 154.3 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01344/1.826, allocations: 4.105 MB / 0.8612 GB, free: 153.2 MB / 0.5138 GB 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.001396/1.828, allocations: 323.5 kB / 0.8615 GB, free: 153.1 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01618/1.844, allocations: 10.95 MB / 0.8722 GB, free: 151.2 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/1.844, allocations: 0 / 0.8722 GB, free: 151.2 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.008601/1.852, allocations: 4.348 MB / 0.8764 GB, free: 149.5 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01173/1.864, allocations: 1.458 MB / 0.8779 GB, free: 149 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05881/1.923, allocations: 29.73 MB / 0.9069 GB, free: 128.7 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02094/1.944, allocations: 10.93 MB / 0.9176 GB, free: 120.4 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01048/1.954, allocations: 3.851 MB / 0.9213 GB, free: 117.9 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002491/1.957, allocations: 0.5416 MB / 0.9219 GB, free: 117.3 MB / 0.5138 GB Notification: Performance of SimCode: time 1.573e-06/1.957, allocations: 4 kB / 0.9219 GB, free: 117.3 MB / 0.5138 GB Notification: Performance of Templates: time 0.1645/2.121, allocations: 90.49 MB / 1.01 GB, free: 28.54 MB / 0.5138 GB " [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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] 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: 9.487158581614494]