Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001632/0.001632, allocations: 116.2 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002088/0.002088, allocations: 201 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.561/1.561, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 71.88 kB / 373.8 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1019, allocations: 53.32 MB / 427.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.2223/0.3242, allocations: 28.71 MB / 455.9 MB, free: 9.594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01864/0.3428, allocations: 7.21 MB / 463.1 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007218/0.35, allocations: 268.2 kB / 463.3 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03144/0.3815, allocations: 13.22 MB / 476.6 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01273/0.3942, allocations: 2.566 MB / 479.1 MB, free: 9.309 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007028/0.4012, allocations: 2.027 MB / 481.2 MB, free: 7.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02556/0.4268, allocations: 18.3 MB / 499.5 MB, free: 8.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06827/0.4951, allocations: 34.24 MB / 0.5212 GB, free: 6.293 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01742/0.5125, allocations: 9.948 MB / 0.5309 GB, free: 12.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01983/0.5323, allocations: 11.12 MB / 0.5418 GB, free: 1.172 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007932/0.5403, allocations: 2.918 MB / 0.5446 GB, free: 14.25 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01068/0.5509, allocations: 3.195 MB / 0.5477 GB, free: 11.06 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009013/0.56, allocations: 5.499 MB / 0.5531 GB, free: 5.547 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02015/0.5801, allocations: 10.82 MB / 0.5637 GB, free: 10.69 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04828/0.6284, allocations: 39.1 MB / 0.6019 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.6284, allocations: 4 kB / 0.6019 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6284, allocations: 0 / 0.6019 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0008398/0.6292, allocations: 0 / 0.6019 GB, free: 3.461 MB / 0.4981 GB 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.4331/1.062, allocations: 22.31 MB / 0.6237 GB, free: 136.5 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/1.062, allocations: 10.34 kB / 0.6237 GB, free: 136.5 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04772/1.11, allocations: 8.247 MB / 0.6317 GB, free: 135 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02415/1.134, allocations: 11.68 MB / 0.6431 GB, free: 129.8 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001821/1.136, allocations: 1.341 MB / 0.6444 GB, free: 129.1 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008732/1.145, allocations: 1.756 MB / 0.6461 GB, free: 128.6 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06747/1.212, allocations: 28.76 MB / 0.6742 GB, free: 106.9 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006239/1.213, allocations: 19.94 kB / 0.6742 GB, free: 106.9 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005129/1.218, allocations: 0.7301 MB / 0.675 GB, free: 106.1 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005856/1.219, allocations: 0.8454 MB / 0.6758 GB, free: 105.3 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04875/1.267, allocations: 24.84 MB / 0.7 GB, free: 80.44 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1354/1.403, allocations: 87.52 MB / 0.7855 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03803/1.441, allocations: 34.58 MB / 0.8193 GB, free: 2.324 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0102/1.451, allocations: 5.056 MB / 0.8242 GB, free: 13.25 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006918/1.452, allocations: 326.5 kB / 0.8245 GB, free: 12.89 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.858e-05/1.452, allocations: 99.08 kB / 0.8246 GB, free: 12.79 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=577): time 7.885e-06/1.452, allocations: 3.938 kB / 0.8246 GB, free: 12.78 MB / 0.5763 GB Notification: Performance of matching and sorting (n=577): time 0.03818/1.49, allocations: 14.77 MB / 0.8391 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/1.49, allocations: 133.6 kB / 0.8392 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01149/1.502, allocations: 6.433 MB / 0.8455 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001063/1.503, allocations: 117.7 kB / 0.8456 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.4423/1.945, allocations: 7.887 MB / 0.8533 GB, free: 198.5 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.002369/1.947, allocations: 2.116 MB / 0.8553 GB, free: 197.9 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003396/1.951, allocations: 2.113 MB / 0.8574 GB, free: 197.7 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 3.836e-05/1.951, allocations: 305.6 kB / 0.8577 GB, free: 197.4 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007899/1.959, allocations: 4.748 MB / 0.8623 GB, free: 197.2 MB / 0.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01156/1.97, allocations: 9.467 MB / 0.8716 GB, free: 189.3 MB / 0.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0172/1.987, allocations: 15.33 MB / 0.8866 GB, free: 178.2 MB / 0.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002691/1.988, allocations: 45.78 kB / 0.8866 GB, free: 178.2 MB / 0.592 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02291/2.011, allocations: 15.42 MB / 0.9017 GB, free: 172 MB / 0.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001221/2.011, allocations: 71.31 kB / 0.9017 GB, free: 172 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002158/2.011, allocations: 162.5 kB / 0.9019 GB, free: 172 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004833/2.016, allocations: 1.656 MB / 0.9035 GB, free: 171.7 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007807/2.024, allocations: 2.361 MB / 0.9058 GB, free: 171.4 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/2.038, allocations: 11.61 MB / 0.9171 GB, free: 165.2 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009603/2.047, allocations: 1.373 MB / 0.9185 GB, free: 164.7 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002524/2.05, allocations: 0.5329 MB / 0.919 GB, free: 164.6 MB / 0.592 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.01193/2.062, allocations: 7.149 MB / 0.926 GB, free: 158.8 MB / 0.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00133/2.063, allocations: 0.6433 MB / 0.9266 GB, free: 158.2 MB / 0.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01286/2.076, allocations: 10.07 MB / 0.9364 GB, free: 149.8 MB / 0.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008943/2.085, allocations: 7.768 MB / 0.944 GB, free: 142.9 MB / 0.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.799e-05/2.085, allocations: 15.94 kB / 0.944 GB, free: 142.9 MB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.076e-05/2.085, allocations: 27.89 kB / 0.9441 GB, free: 142.9 MB / 0.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04215/2.127, allocations: 25.7 MB / 0.9692 GB, free: 117 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.269e-05/2.127, allocations: 8 kB / 0.9692 GB, free: 117 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003876/2.131, allocations: 1.014 MB / 0.9702 GB, free: 116 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004698/2.136, allocations: 1.465 MB / 0.9716 GB, free: 114.5 MB / 0.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007316/2.136, allocations: 133.9 kB / 0.9717 GB, free: 114.4 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01198/2.148, allocations: 11.17 MB / 0.9826 GB, free: 103.2 MB / 0.592 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/2.148, allocations: 11.94 kB / 0.9826 GB, free: 103.1 MB / 0.592 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01697/2.165, allocations: 14.13 MB / 0.9964 GB, free: 88.67 MB / 0.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003145/2.169, allocations: 1.474 MB / 0.9979 GB, free: 87.25 MB / 0.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001412/2.17, allocations: 119.5 kB / 0.998 GB, free: 87.14 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003579/2.174, allocations: 315.7 kB / 0.9983 GB, free: 86.84 MB / 0.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008475/2.174, allocations: 408.4 kB / 0.9987 GB, free: 86.43 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003539/2.175, allocations: 176 kB / 0.9989 GB, free: 86.26 MB / 0.592 GB Notification: Performance of sorting global known variables: time 0.01042/2.185, allocations: 4.305 MB / 1.003 GB, free: 81.99 MB / 0.592 GB Notification: Performance of sort global known variables: time 3.21e-07/2.185, allocations: 0 / 1.003 GB, free: 81.99 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.02037/2.206, allocations: 4.096 MB / 1.007 GB, free: 78.36 MB / 0.592 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.00187/2.207, allocations: 323.9 kB / 1.007 GB, free: 78.05 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.02405/2.231, allocations: 10.95 MB / 1.018 GB, free: 67.05 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/2.232, allocations: 7.938 kB / 1.018 GB, free: 67.05 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.006759/2.238, allocations: 4.344 MB / 1.022 GB, free: 62.69 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008406/2.247, allocations: 1.569 MB / 1.024 GB, free: 61.18 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04585/2.293, allocations: 29.55 MB / 1.053 GB, free: 31.41 MB / 0.592 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01463/2.307, allocations: 11.26 MB / 1.064 GB, free: 20.11 MB / 0.592 GB Notification: Performance of simCode: alias equations: time 0.01425/2.321, allocations: 3.77 MB / 1.067 GB, free: 16.33 MB / 0.592 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00348/2.325, allocations: 0.5478 MB / 1.068 GB, free: 15.78 MB / 0.592 GB Notification: Performance of SimCode: time 1.112e-06/2.325, allocations: 0 / 1.068 GB, free: 15.78 MB / 0.592 GB Notification: Performance of Templates: time 0.4293/2.754, allocations: 101.4 MB / 1.167 GB, free: 118.1 MB / 0.592 GB " [Timeout remaining time 657] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.939759271219373]