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.001312/0.001312, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 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.001284/0.001284, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 14.72 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.374/1.374, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 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 0.00149/0.00149, allocations: 43.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2334, allocations: 52.14 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03297/0.2664, allocations: 28.76 MB / 449.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01615/0.2825, allocations: 7.146 MB / 456.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006004/0.2885, allocations: 263.2 kB / 457 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03068/0.3192, allocations: 13.21 MB / 470.2 MB, free: 13.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01201/0.3312, allocations: 2.707 MB / 473 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008823/0.34, allocations: 1.859 MB / 474.8 MB, free: 9.012 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02491/0.3649, allocations: 18.18 MB / 493 MB, free: 6.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0664/0.4313, allocations: 26.94 MB / 0.5077 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01625/0.4476, allocations: 9.969 MB / 0.5175 GB, free: 1.645 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01936/0.467, allocations: 11.13 MB / 0.5283 GB, free: 6.477 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008325/0.4753, allocations: 2.918 MB / 0.5312 GB, free: 3.559 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01312/0.4884, allocations: 3.168 MB / 0.5343 GB, free: 400 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3983/0.8867, allocations: 5.481 MB / 0.5396 GB, free: 42.16 MB / 446.2 MB Notification: Performance of NFVerifyModel.verify: time 0.01932/0.906, allocations: 10.82 MB / 0.5502 GB, free: 40.93 MB / 446.2 MB Notification: Performance of NFConvertDAE.convert: time 0.03341/0.9394, allocations: 39.08 MB / 0.5884 GB, free: 20.18 MB / 446.2 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.9394, allocations: 3.656 kB / 0.5884 GB, free: 20.18 MB / 446.2 MB Notification: Performance of FrontEnd: time 1.222e-06/0.9394, allocations: 0.8125 kB / 0.5884 GB, free: 20.18 MB / 446.2 MB Notification: Performance of Transformations before backend: time 0.0009233/0.9403, allocations: 0 / 0.5884 GB, free: 20.18 MB / 446.2 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.05852/0.9988, allocations: 22.3 MB / 0.6102 GB, free: 6.25 MB / 446.2 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.9989, allocations: 14.08 kB / 0.6102 GB, free: 6.246 MB / 446.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04242/1.041, allocations: 8.417 MB / 0.6184 GB, free: 14.48 MB / 462.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02528/1.067, allocations: 11.65 MB / 0.6298 GB, free: 3.262 MB / 462.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001325/1.068, allocations: 1.342 MB / 0.6311 GB, free: 1.93 MB / 462.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00622/1.074, allocations: 1.759 MB / 0.6328 GB, free: 188 kB / 462.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07121/1.145, allocations: 28.71 MB / 0.6608 GB, free: 3.434 MB / 494.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005232/1.146, allocations: 15.95 kB / 0.6609 GB, free: 3.418 MB / 494.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005426/1.151, allocations: 0.7254 MB / 0.6616 GB, free: 2.703 MB / 494.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008753/1.152, allocations: 0.8454 MB / 0.6624 GB, free: 1.855 MB / 494.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05783/1.21, allocations: 24.79 MB / 0.6866 GB, free: 9.051 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3996/1.61, allocations: 87.11 MB / 0.7717 GB, free: 140.6 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02115/1.631, allocations: 34.56 MB / 0.8054 GB, free: 113.2 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007008/1.638, allocations: 5.04 MB / 0.8103 GB, free: 113.1 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004692/1.638, allocations: 205 kB / 0.8105 GB, free: 113 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/1.638, allocations: 97.45 kB / 0.8106 GB, free: 112.9 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 7.154e-06/1.638, allocations: 0 / 0.8106 GB, free: 112.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.04496/1.683, allocations: 14.72 MB / 0.825 GB, free: 112.1 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/1.683, allocations: 137.9 kB / 0.8251 GB, free: 112 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01797/1.701, allocations: 6.432 MB / 0.8314 GB, free: 110 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.00124/1.703, allocations: 115.5 kB / 0.8315 GB, free: 109.9 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.005913/1.708, allocations: 7.895 MB / 0.8392 GB, free: 103 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.003123/1.712, allocations: 2.112 MB / 0.8413 GB, free: 101.2 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00582/1.717, allocations: 2.106 MB / 0.8434 GB, free: 99.96 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.895e-05/1.717, allocations: 305.1 kB / 0.8436 GB, free: 99.66 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007752/1.725, allocations: 4.732 MB / 0.8483 GB, free: 97.14 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01456/1.74, allocations: 9.464 MB / 0.8575 GB, free: 88.14 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02317/1.763, allocations: 15.3 MB / 0.8724 GB, free: 71.7 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002229/1.763, allocations: 44 kB / 0.8725 GB, free: 71.66 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.03866/1.802, allocations: 15.38 MB / 0.8875 GB, free: 56.19 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.00022/1.802, allocations: 72 kB / 0.8876 GB, free: 56.12 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002899/1.802, allocations: 160 kB / 0.8877 GB, free: 55.96 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007749/1.81, allocations: 1.661 MB / 0.8894 GB, free: 54.3 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01193/1.822, allocations: 2.348 MB / 0.8916 GB, free: 51.95 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0201/1.842, allocations: 11.62 MB / 0.903 GB, free: 40.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0123/1.854, allocations: 1.377 MB / 0.9043 GB, free: 38.81 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003258/1.858, allocations: 0.5273 MB / 0.9049 GB, free: 38.28 MB / 0.5607 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.02013/1.878, allocations: 7.153 MB / 0.9118 GB, free: 31.11 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002196/1.88, allocations: 0.6404 MB / 0.9125 GB, free: 30.46 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02482/1.905, allocations: 10.07 MB / 0.9223 GB, free: 20.29 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01093/1.916, allocations: 7.73 MB / 0.9299 GB, free: 12.47 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.681e-05/1.916, allocations: 12 kB / 0.9299 GB, free: 12.46 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.095e-05/1.916, allocations: 27.89 kB / 0.9299 GB, free: 12.43 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05146/1.967, allocations: 25.42 MB / 0.9547 GB, free: 2.82 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.238e-05/1.967, allocations: 16.2 kB / 0.9547 GB, free: 2.805 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00445/1.972, allocations: 1.006 MB / 0.9557 GB, free: 1.797 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005625/1.977, allocations: 1.465 MB / 0.9571 GB, free: 336 kB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000749/1.978, allocations: 124 kB / 0.9573 GB, free: 212 kB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01693/1.995, allocations: 11.16 MB / 0.9682 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.34e-05/1.995, allocations: 11.94 kB / 0.9682 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2676/2.263, allocations: 14.09 MB / 0.9819 GB, free: 194.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003402/2.266, allocations: 1.469 MB / 0.9834 GB, free: 194 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001641/2.268, allocations: 110.3 kB / 0.9835 GB, free: 194 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004309/2.272, allocations: 330.8 kB / 0.9838 GB, free: 194 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001101/2.273, allocations: 397 kB / 0.9842 GB, free: 193.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003552/2.274, allocations: 168.9 kB / 0.9843 GB, free: 193.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008404/2.282, allocations: 4.306 MB / 0.9885 GB, free: 192.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.8e-07/2.282, allocations: 0 / 0.9885 GB, free: 192.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01421/2.296, allocations: 4.086 MB / 0.9925 GB, free: 191.5 MB / 0.5919 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.001474/2.298, allocations: 333.7 kB / 0.9928 GB, free: 191.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01706/2.315, allocations: 10.93 MB / 1.004 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.595e-05/2.315, allocations: 3.719 kB / 1.004 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007732/2.322, allocations: 4.337 MB / 1.008 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008766/2.331, allocations: 1.552 MB / 1.009 GB, free: 185 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05571/2.387, allocations: 30.01 MB / 1.039 GB, free: 165.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01979/2.407, allocations: 11.25 MB / 1.05 GB, free: 156.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01014/2.417, allocations: 3.766 MB / 1.053 GB, free: 154.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00236/2.419, allocations: 0.514 MB / 1.054 GB, free: 153.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.082e-06/2.419, allocations: 4 kB / 1.054 GB, free: 153.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.147/2.566, allocations: 98.06 MB / 1.149 GB, free: 57.52 MB / 0.5919 GB " [Timeout remaining time 657] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] 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.657938668504357]