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.0008519/0.0008519, allocations: 87.62 kB / 21.43 MB, free: 3.125 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.004276/0.004276, allocations: 160.8 kB / 24.7 MB, free: 9.414 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.8542/0.8542, allocations: 177.1 MB / 205 MB, free: 5.715 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 1.393e-06/1.393e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.077e-05, allocations: 4.531 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.01668/0.0167, allocations: 24.54 MB / 350.4 MB, free: 6.758 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01404/0.03074, allocations: 7.031 MB / 357.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003248/0.03399, allocations: 314.4 kB / 357.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01121/0.0452, allocations: 12.94 MB / 370.7 MB, free: 2.426 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005367/0.05056, allocations: 2.667 MB / 373.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002882/0.05345, allocations: 2.04 MB / 375.4 MB, free: 13.72 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01337/0.06681, allocations: 19.11 MB / 394.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03116/0.09797, allocations: 28.17 MB / 422.6 MB, free: 14.14 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01748/0.1154, allocations: 15.11 MB / 437.7 MB, free: 15.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01297/0.1284, allocations: 9.754 MB / 447.5 MB, free: 5.254 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004413/0.1328, allocations: 2.918 MB / 450.4 MB, free: 2.336 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2818/0.4146, allocations: 3.191 MB / 453.6 MB, free: 52.5 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.007063/0.4217, allocations: 5.581 MB / 459.2 MB, free: 52.5 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0123/0.434, allocations: 7.239 MB / 466.4 MB, free: 52.5 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02619/0.4602, allocations: 39.53 MB / 0.4941 GB, free: 34.55 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4602, allocations: 0 / 0.4941 GB, free: 34.55 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4602, allocations: 0 / 0.4941 GB, free: 34.55 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.001374/0.4616, allocations: 0 / 0.4941 GB, free: 34.55 MB / 410.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.06135/0.5229, allocations: 22.07 MB / 0.5157 GB, free: 19.74 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.523, allocations: 12.03 kB / 0.5157 GB, free: 19.73 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02354/0.5465, allocations: 8.234 MB / 0.5237 GB, free: 11.56 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01902/0.5655, allocations: 11.89 MB / 0.5353 GB, free: 180 kB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00107/0.5666, allocations: 1.342 MB / 0.5366 GB, free: 14.84 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006821/0.5734, allocations: 1.757 MB / 0.5384 GB, free: 13.09 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06215/0.6356, allocations: 29.02 MB / 0.5667 GB, free: 15.98 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005988/0.6362, allocations: 18.75 kB / 0.5667 GB, free: 15.96 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005421/0.6416, allocations: 0.7243 MB / 0.5674 GB, free: 15.25 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005531/0.6421, allocations: 0.8493 MB / 0.5682 GB, free: 14.39 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04503/0.6872, allocations: 24.76 MB / 0.5924 GB, free: 5.613 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3069/0.9941, allocations: 76.13 MB / 0.6668 GB, free: 124.1 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01375/1.008, allocations: 12.79 MB / 0.6793 GB, free: 122.6 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005742/1.014, allocations: 5.033 MB / 0.6842 GB, free: 120.9 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003716/1.014, allocations: 140.3 kB / 0.6843 GB, free: 120.9 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.086e-05/1.014, allocations: 97.81 kB / 0.6844 GB, free: 120.8 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=577): time 7.904e-06/1.014, allocations: 2.156 kB / 0.6844 GB, free: 120.8 MB / 0.4949 GB Notification: Performance of matching and sorting (n=577): time 0.02019/1.034, allocations: 14.68 MB / 0.6987 GB, free: 113.9 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/1.034, allocations: 140.3 kB / 0.6989 GB, free: 113.8 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007651/1.042, allocations: 6.495 MB / 0.7052 GB, free: 109.6 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0008851/1.043, allocations: 117.7 kB / 0.7053 GB, free: 109.5 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002581/1.045, allocations: 7.859 MB / 0.713 GB, free: 101.6 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001753/1.047, allocations: 2.08 MB / 0.715 GB, free: 99.59 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002468/1.05, allocations: 2.096 MB / 0.7171 GB, free: 97.48 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 3.153e-05/1.05, allocations: 305.1 kB / 0.7174 GB, free: 97.18 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004661/1.054, allocations: 4.744 MB / 0.722 GB, free: 92.43 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006072/1.06, allocations: 9.498 MB / 0.7313 GB, free: 80.74 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01217/1.073, allocations: 15.33 MB / 0.7462 GB, free: 63.1 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000147/1.073, allocations: 48 kB / 0.7463 GB, free: 63.05 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.01874/1.091, allocations: 15.4 MB / 0.7613 GB, free: 47.57 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 9.103e-05/1.091, allocations: 72 kB / 0.7614 GB, free: 47.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001644/1.092, allocations: 163.9 kB / 0.7616 GB, free: 47.34 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002814/1.094, allocations: 1.659 MB / 0.7632 GB, free: 45.68 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005041/1.1, allocations: 2.359 MB / 0.7655 GB, free: 43.32 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00946/1.109, allocations: 11.24 MB / 0.7765 GB, free: 31.98 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006106/1.115, allocations: 1.358 MB / 0.7778 GB, free: 30.62 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001683/1.117, allocations: 0.5351 MB / 0.7783 GB, free: 30.08 MB / 0.4949 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.0105/1.127, allocations: 7.145 MB / 0.7853 GB, free: 22.92 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009977/1.128, allocations: 0.6248 MB / 0.7859 GB, free: 22.29 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/1.138, allocations: 10.07 MB / 0.7957 GB, free: 12.1 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006996/1.145, allocations: 7.777 MB / 0.8033 GB, free: 4.238 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.561e-05/1.145, allocations: 12 kB / 0.8033 GB, free: 4.227 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.883e-05/1.145, allocations: 27.89 kB / 0.8034 GB, free: 4.199 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2497/1.395, allocations: 21.77 MB / 0.8246 GB, free: 156.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.758e-05/1.395, allocations: 12.33 kB / 0.8246 GB, free: 156.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002899/1.398, allocations: 1.012 MB / 0.8256 GB, free: 156.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002825/1.401, allocations: 1.466 MB / 0.8271 GB, free: 156.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009436/1.402, allocations: 133.6 kB / 0.8272 GB, free: 156.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01003/1.412, allocations: 10.78 MB / 0.8377 GB, free: 155 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/1.412, allocations: 17.44 kB / 0.8377 GB, free: 155 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0141/1.426, allocations: 14.1 MB / 0.8515 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002656/1.428, allocations: 1.423 MB / 0.8529 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009173/1.429, allocations: 116.9 kB / 0.853 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/1.431, allocations: 319.5 kB / 0.8533 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006743/1.432, allocations: 433.2 kB / 0.8537 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002479/1.432, allocations: 179.5 kB / 0.8539 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006095/1.438, allocations: 4.154 MB / 0.8579 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/1.438, allocations: 0 / 0.8579 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01329/1.452, allocations: 4.102 MB / 0.8619 GB, free: 145.6 MB / 0.5105 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.001586/1.453, allocations: 323.9 kB / 0.8623 GB, free: 145.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01251/1.466, allocations: 10.95 MB / 0.873 GB, free: 139.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/1.466, allocations: 4 kB / 0.873 GB, free: 139.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005657/1.471, allocations: 4.34 MB / 0.8772 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007311/1.479, allocations: 1.454 MB / 0.8786 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05234/1.531, allocations: 29.12 MB / 0.9071 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01966/1.551, allocations: 10.58 MB / 0.9174 GB, free: 97.35 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002388/1.553, allocations: 0.6097 MB / 0.918 GB, free: 96.73 MB / 0.5105 GB Notification: Performance of SimCode: time 2.014e-06/1.553, allocations: 0 / 0.918 GB, free: 96.73 MB / 0.5105 GB Notification: Performance of Templates: time 0.4203/1.973, allocations: 289.2 MB / 1.2 GB, free: 24.75 MB / 0.5262 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: 16.868129682727158]