Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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.0009343/0.0009343, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004882/0.004882, allocations: 153.4 kB / 24.7 MB, free: 8.898 MB / 18.57 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 0.8763/0.8763, allocations: 177 MB / 204.9 MB, free: 5.777 MB / 186.7 MB " [Timeout remaining time 179] 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.868e-05, allocations: 2.281 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.0172/0.01723, allocations: 23.24 MB / 349.1 MB, free: 8.012 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01417/0.0314, allocations: 7.864 MB / 356.9 MB, free: 128 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0049/0.0363, allocations: 238.9 kB / 357.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01178/0.04808, allocations: 9.235 MB / 366.4 MB, free: 6.633 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009177/0.05726, allocations: 3.428 MB / 369.8 MB, free: 3.191 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004209/0.06147, allocations: 1.831 MB / 371.7 MB, free: 1.363 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01282/0.07429, allocations: 12.75 MB / 384.4 MB, free: 4.559 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02151/0.0958, allocations: 15.89 MB / 400.3 MB, free: 4.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01597/0.1118, allocations: 9.716 MB / 410 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01026/0.122, allocations: 6.272 MB / 416.3 MB, free: 4.465 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004967/0.127, allocations: 1.832 MB / 418.1 MB, free: 2.633 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006876/0.1339, allocations: 2.23 MB / 420.3 MB, free: 412 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00563/0.1395, allocations: 3.674 MB / 424 MB, free: 12.72 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009453/0.149, allocations: 4.628 MB / 428.6 MB, free: 8.082 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2149/0.3639, allocations: 25.12 MB / 453.8 MB, free: 47.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.3639, allocations: 1.281 kB / 453.8 MB, free: 47.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3639, allocations: 0.6562 kB / 453.8 MB, free: 47.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0009399/0.3649, allocations: 0 / 453.8 MB, free: 47.49 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.03457/0.3994, allocations: 14.56 MB / 468.3 MB, free: 43.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.3995, allocations: 10.61 kB / 468.3 MB, free: 43.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02412/0.4236, allocations: 8.448 MB / 476.8 MB, free: 43.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01364/0.4372, allocations: 7.809 MB / 484.6 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005533/0.4378, allocations: 0.8015 MB / 485.4 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00432/0.4421, allocations: 1.067 MB / 486.5 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03664/0.4787, allocations: 18.55 MB / 0.4932 GB, free: 26.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000321/0.4791, allocations: 11.33 kB / 0.4932 GB, free: 26.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003715/0.4828, allocations: 449.1 kB / 0.4936 GB, free: 25.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003733/0.4831, allocations: 0.6672 MB / 0.4943 GB, free: 25.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02829/0.5114, allocations: 17.49 MB / 0.5113 GB, free: 7.605 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07964/0.5911, allocations: 50.35 MB / 0.5605 GB, free: 5.18 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01532/0.6064, allocations: 12.65 MB / 0.5729 GB, free: 10.54 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004891/0.6113, allocations: 3.744 MB / 0.5765 GB, free: 6.773 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004209/0.6117, allocations: 124 kB / 0.5766 GB, free: 6.648 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.183e-05/0.6118, allocations: 90.62 kB / 0.5767 GB, free: 6.547 MB / 474.7 MB Notification: Performance of pre-optimization done (n=518): time 6.943e-06/0.6118, allocations: 0 / 0.5767 GB, free: 6.547 MB / 474.7 MB Notification: Performance of matching and sorting (n=524): time 0.03342/0.6452, allocations: 21.24 MB / 0.5975 GB, free: 1.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/0.6453, allocations: 103.5 kB / 0.5976 GB, free: 1.062 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004902/0.6502, allocations: 3.999 MB / 0.6015 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009414/0.6511, allocations: 116.8 kB / 0.6016 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002335/0.6534, allocations: 4.672 MB / 0.6061 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00186/0.6553, allocations: 1.838 MB / 0.6079 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001705/0.657, allocations: 1.363 MB / 0.6093 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.891e-05/0.6571, allocations: 301.1 kB / 0.6096 GB, free: 4.793 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004127/0.6612, allocations: 3.434 MB / 0.6129 GB, free: 1.355 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005382/0.6666, allocations: 5.896 MB / 0.6187 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01147/0.6781, allocations: 10.02 MB / 0.6284 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.867e-05/0.6782, allocations: 20 kB / 0.6285 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01567/0.6938, allocations: 10.88 MB / 0.6391 GB, free: 5.047 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.587e-05/0.6939, allocations: 36 kB / 0.6391 GB, free: 5.012 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003044/0.6942, allocations: 80 kB / 0.6392 GB, free: 4.934 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002276/0.6965, allocations: 1.374 MB / 0.6405 GB, free: 3.555 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004309/0.7008, allocations: 1.623 MB / 0.6421 GB, free: 2.039 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2067/0.9075, allocations: 10.92 MB / 0.6528 GB, free: 200.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003775/0.9112, allocations: 407.8 kB / 0.6532 GB, free: 200.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007859/0.912, allocations: 339.4 kB / 0.6535 GB, free: 200.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005528/0.9175, allocations: 4.159 MB / 0.6576 GB, free: 198.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008307/0.9184, allocations: 484.1 kB / 0.658 GB, free: 198.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008946/0.9273, allocations: 8.38 MB / 0.6662 GB, free: 195.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006885/0.9342, allocations: 7.031 MB / 0.6731 GB, free: 192.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.919e-05/0.9342, allocations: 11.72 kB / 0.6731 GB, free: 192.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-05/0.9343, allocations: 30.19 kB / 0.6731 GB, free: 192.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02021/0.9545, allocations: 16.12 MB / 0.6889 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.9545, allocations: 5.062 kB / 0.6889 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001847/0.9563, allocations: 0.9451 MB / 0.6898 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001817/0.9581, allocations: 1.229 MB / 0.691 GB, free: 179.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002845/0.9584, allocations: 114.2 kB / 0.6911 GB, free: 179.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007829/0.9663, allocations: 9.646 MB / 0.7005 GB, free: 170.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.9663, allocations: 4 kB / 0.7005 GB, free: 170.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01188/0.9781, allocations: 12.21 MB / 0.7124 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002103/0.9802, allocations: 1.095 MB / 0.7135 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005914/0.9808, allocations: 92 kB / 0.7136 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/0.9822, allocations: 267.8 kB / 0.7139 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005322/0.9827, allocations: 376.2 kB / 0.7142 GB, free: 157 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002016/0.9829, allocations: 156 kB / 0.7144 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002557/0.9855, allocations: 2.575 MB / 0.7169 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9855, allocations: 0 / 0.7169 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005645/0.9911, allocations: 1.922 MB / 0.7188 GB, free: 152.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.port_p.reference.gamma,speed.phi) * 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 (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007081/0.9918, allocations: 299.9 kB / 0.719 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009877/1.002, allocations: 8.374 MB / 0.7272 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/1.002, allocations: 1.422 kB / 0.7272 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005988/1.008, allocations: 3.886 MB / 0.731 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004589/1.012, allocations: 1.007 MB / 0.732 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02472/1.037, allocations: 19.11 MB / 0.7507 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005095/1.042, allocations: 6.379 MB / 0.7569 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00175/1.044, allocations: 488.4 kB / 0.7574 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.563e-06/1.044, allocations: 4 kB / 0.7574 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.3171/1.361, allocations: 186.1 MB / 0.9391 GB, free: 157.2 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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: 13.66977834329009]