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.001362/0.001362, allocations: 109.8 kB / 19.17 MB, free: 3.871 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.001411/0.001411, allocations: 208.9 kB / 22.13 MB, free: 0.918 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.484/1.484, allocations: 230.2 MB / 255.2 MB, free: 15.25 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.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 0.001831/0.001831, allocations: 59.91 kB / 374.6 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1087, allocations: 53.32 MB / 427.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.2213/0.33, allocations: 27.11 MB / 455 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02027/0.3502, allocations: 8.177 MB / 463.2 MB, free: 4.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007456/0.3577, allocations: 200.8 kB / 463.4 MB, free: 4.711 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02316/0.3809, allocations: 9.474 MB / 472.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01283/0.3937, allocations: 3.376 MB / 476.2 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00639/0.4001, allocations: 1.839 MB / 478 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01917/0.4193, allocations: 12.24 MB / 490.3 MB, free: 2.531 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03347/0.4527, allocations: 18.64 MB / 0.497 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01225/0.465, allocations: 6.484 MB / 0.5033 GB, free: 9.199 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01522/0.4802, allocations: 7.289 MB / 0.5105 GB, free: 1.887 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005695/0.4859, allocations: 1.84 MB / 0.5123 GB, free: 48 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01013/0.496, allocations: 2.226 MB / 0.5144 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006333/0.5024, allocations: 3.616 MB / 0.518 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01358/0.5159, allocations: 6.926 MB / 0.5247 GB, free: 3.242 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03512/0.5511, allocations: 24.82 MB / 0.549 GB, free: 10.35 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.5511, allocations: 0 / 0.549 GB, free: 10.35 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5511, allocations: 0 / 0.549 GB, free: 10.35 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007023/0.5518, allocations: 0 / 0.549 GB, free: 10.35 MB / 462.1 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.04734/0.5991, allocations: 14.76 MB / 0.5634 GB, free: 11.47 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.5992, allocations: 8.031 kB / 0.5634 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04961/0.6488, allocations: 8.44 MB / 0.5716 GB, free: 3.004 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01908/0.6678, allocations: 7.685 MB / 0.5791 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001114/0.669, allocations: 0.8068 MB / 0.5799 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005367/0.6743, allocations: 1.058 MB / 0.581 GB, free: 9.363 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05567/0.73, allocations: 18.34 MB / 0.5989 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006234/0.7306, allocations: 19.94 kB / 0.5989 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004594/0.7352, allocations: 455.9 kB / 0.5993 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000918/0.7361, allocations: 0.6711 MB / 0.6 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04449/0.7806, allocations: 17.59 MB / 0.6171 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5046/1.285, allocations: 59.37 MB / 0.6751 GB, free: 110.6 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0245/1.31, allocations: 36.99 MB / 0.7112 GB, free: 75.03 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005626/1.315, allocations: 3.759 MB / 0.7149 GB, free: 73.04 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005031/1.316, allocations: 300.5 kB / 0.7152 GB, free: 72.81 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.18e-05/1.316, allocations: 90.94 kB / 0.7153 GB, free: 72.73 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 6.532e-06/1.316, allocations: 0 / 0.7153 GB, free: 72.73 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.04477/1.361, allocations: 21.6 MB / 0.7364 GB, free: 54.18 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/1.361, allocations: 107.5 kB / 0.7365 GB, free: 54.05 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005247/1.366, allocations: 4.187 MB / 0.7406 GB, free: 49.89 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007847/1.367, allocations: 109.7 kB / 0.7407 GB, free: 49.78 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001947/1.369, allocations: 4.674 MB / 0.7452 GB, free: 45.69 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001498/1.37, allocations: 1.86 MB / 0.7471 GB, free: 43.86 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001788/1.372, allocations: 1.367 MB / 0.7484 GB, free: 42.48 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.075e-05/1.372, allocations: 321 kB / 0.7487 GB, free: 42.16 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004303/1.376, allocations: 3.445 MB / 0.7521 GB, free: 38.71 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005288/1.382, allocations: 5.892 MB / 0.7578 GB, free: 31.73 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/1.393, allocations: 10.04 MB / 0.7676 GB, free: 20.52 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.88e-05/1.393, allocations: 24 kB / 0.7676 GB, free: 20.5 MB / 0.5138 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01696/1.41, allocations: 10.96 MB / 0.7783 GB, free: 9.457 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.031e-05/1.41, allocations: 36.62 kB / 0.7784 GB, free: 9.422 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001082/1.41, allocations: 80 kB / 0.7784 GB, free: 9.344 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003759/1.413, allocations: 1.445 MB / 0.7799 GB, free: 7.898 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005819/1.419, allocations: 1.622 MB / 0.7814 GB, free: 6.273 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01742/1.437, allocations: 11.49 MB / 0.7927 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00568/1.442, allocations: 407.5 kB / 0.793 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001364/1.444, allocations: 343.9 kB / 0.7934 GB, free: 9.914 MB / 0.5294 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.009437/1.453, allocations: 4.169 MB / 0.7974 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001537/1.455, allocations: 492.9 kB / 0.7979 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01791/1.473, allocations: 8.438 MB / 0.8062 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01484/1.487, allocations: 7.068 MB / 0.8131 GB, free: 5.539 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.617e-05/1.488, allocations: 12 kB / 0.8131 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001154/1.488, allocations: 27.89 kB / 0.8131 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04245/1.53, allocations: 18.77 MB / 0.8314 GB, free: 2.66 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.912e-05/1.53, allocations: 4.281 kB / 0.8314 GB, free: 2.656 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004281/1.534, allocations: 0.9478 MB / 0.8324 GB, free: 1.707 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004192/1.539, allocations: 1.301 MB / 0.8336 GB, free: 412 kB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008429/1.539, allocations: 124 kB / 0.8338 GB, free: 288 kB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2504/1.79, allocations: 10.17 MB / 0.8437 GB, free: 180.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.79, allocations: 4.609 kB / 0.8437 GB, free: 180.8 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02408/1.814, allocations: 12.29 MB / 0.8557 GB, free: 175.8 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003339/1.817, allocations: 1.181 MB / 0.8568 GB, free: 175.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001202/1.818, allocations: 93.8 kB / 0.8569 GB, free: 175.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003376/1.822, allocations: 269.5 kB / 0.8572 GB, free: 175.3 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001023/1.823, allocations: 356.1 kB / 0.8575 GB, free: 175.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003771/1.823, allocations: 153.5 kB / 0.8577 GB, free: 175.2 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005295/1.828, allocations: 2.824 MB / 0.8604 GB, free: 174.1 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.7e-07/1.828, allocations: 0 / 0.8604 GB, free: 174.1 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.009168/1.838, allocations: 1.938 MB / 0.8623 GB, free: 173.9 MB / 0.5607 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.001314/1.839, allocations: 299.1 kB / 0.8626 GB, free: 173.8 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.015/1.854, allocations: 8.399 MB / 0.8708 GB, free: 170.6 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/1.854, allocations: 1.688 kB / 0.8708 GB, free: 170.6 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.007675/1.862, allocations: 3.911 MB / 0.8746 GB, free: 169.1 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007412/1.869, allocations: 1.129 MB / 0.8757 GB, free: 168.7 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03442/1.903, allocations: 19.09 MB / 0.8944 GB, free: 154.4 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00787/1.911, allocations: 6.797 MB / 0.901 GB, free: 149 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002124/1.913, allocations: 500 kB / 0.9015 GB, free: 148.6 MB / 0.5607 GB Notification: Performance of SimCode: time 1.523e-06/1.913, allocations: 0 / 0.9015 GB, free: 148.6 MB / 0.5607 GB Notification: Performance of Templates: time 0.4398/2.353, allocations: 185.1 MB / 1.082 GB, free: 164.9 MB / 0.5607 GB " [Timeout remaining time 658] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 18.634386399993673]