Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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.001126/0.001126, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001726/0.002852, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0009945/0.0009945, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001334/0.002328, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9351/0.9351, allocations: 173.4 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09242/1.028, allocations: 52.49 MB / 238.3 MB, free: 4.441 MB / 234.7 MB " [Timeout remaining time 179] 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.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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 239.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.313e-05, allocations: 2.312 kB / 239.6 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02044/0.02046, allocations: 25.52 MB / 265.1 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01673/0.03719, allocations: 8.401 MB / 273.5 MB, free: 1.109 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00484/0.04203, allocations: 234.8 kB / 273.7 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1509/0.193, allocations: 9.914 MB / 283.6 MB, free: 1.512 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009915/0.2029, allocations: 3.446 MB / 287.1 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003833/0.2067, allocations: 1.816 MB / 288.9 MB, free: 0.918 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01261/0.2193, allocations: 12.74 MB / 301.6 MB, free: 11.97 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01646/0.2358, allocations: 15.93 MB / 317.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01414/0.2499, allocations: 10.13 MB / 327.7 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00956/0.2595, allocations: 7.209 MB / 334.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003803/0.2633, allocations: 1.831 MB / 336.7 MB, free: 12.21 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004625/0.2679, allocations: 2.215 MB / 338.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002199/0.2701, allocations: 2.98 MB / 341.9 MB, free: 7.047 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004918/0.275, allocations: 3.916 MB / 345.8 MB, free: 3.125 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01105/0.2861, allocations: 11.12 MB / 357 MB, free: 8.449 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.324e-05/0.2861, allocations: 0 / 357 MB, free: 8.449 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2861, allocations: 0 / 357 MB, free: 8.449 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002985/0.2864, allocations: 0 / 357 MB, free: 8.449 MB / 330.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.02109/0.3075, allocations: 15.89 MB / 372.9 MB, free: 9.184 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3075, allocations: 12.03 kB / 372.9 MB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02118/0.3287, allocations: 8.312 MB / 381.2 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00876/0.3375, allocations: 3.992 MB / 385.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005437/0.338, allocations: 0.8062 MB / 386 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00172/0.3397, allocations: 1.07 MB / 387 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01245/0.3522, allocations: 9.059 MB / 396.1 MB, free: 2.855 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001908/0.3524, allocations: 18.98 kB / 396.1 MB, free: 2.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008083/0.3532, allocations: 445.5 kB / 396.6 MB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004391/0.3536, allocations: 0.6711 MB / 397.2 MB, free: 1.746 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00744/0.3611, allocations: 4.765 MB / 402 MB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1855/0.5466, allocations: 34.75 MB / 436.7 MB, free: 69.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007464/0.5541, allocations: 7.077 MB / 443.8 MB, free: 68.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/0.5554, allocations: 1.282 MB / 445.1 MB, free: 68.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002419/0.5556, allocations: 131.5 kB / 445.2 MB, free: 68.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.946e-05/0.5557, allocations: 93.88 kB / 445.3 MB, free: 68.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=518): time 6.142e-06/0.5557, allocations: 0 / 445.3 MB, free: 68.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=524): time 0.01671/0.5724, allocations: 9.382 MB / 454.7 MB, free: 67.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.5724, allocations: 109.5 kB / 454.8 MB, free: 67.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002258/0.5747, allocations: 2.648 MB / 457.5 MB, free: 66.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002001/0.5749, allocations: 108.4 kB / 457.6 MB, free: 66.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001206/0.5761, allocations: 4.281 MB / 461.8 MB, free: 63.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007042/0.5768, allocations: 1.841 MB / 463.7 MB, free: 62.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001148/0.578, allocations: 1.242 MB / 464.9 MB, free: 62.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.265e-05/0.578, allocations: 305 kB / 465.2 MB, free: 62.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.5791, allocations: 0.9511 MB / 466.2 MB, free: 62.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/0.5808, allocations: 3.195 MB / 469.4 MB, free: 59.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003647/0.5844, allocations: 4.832 MB / 474.2 MB, free: 55.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.443e-05/0.5845, allocations: 31.31 kB / 474.2 MB, free: 55.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.005248/0.5897, allocations: 4.618 MB / 478.9 MB, free: 51.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/0.5898, allocations: 40 kB / 478.9 MB, free: 51.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.047e-05/0.5898, allocations: 76.88 kB / 479 MB, free: 51.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001853/0.5917, allocations: 1.195 MB / 480.2 MB, free: 50.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002815/0.5945, allocations: 1.663 MB / 481.8 MB, free: 48.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004851/0.5993, allocations: 5.098 MB / 486.9 MB, free: 44.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002195/0.6015, allocations: 262.4 kB / 487.2 MB, free: 44.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003065/0.6018, allocations: 268 kB / 487.4 MB, free: 44.57 MB / 378.7 MB 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.002162/0.604, allocations: 0.5661 MB / 488 MB, free: 44.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005676/0.6046, allocations: 440.8 kB / 488.4 MB, free: 43.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004028/0.6086, allocations: 3.458 MB / 491.9 MB, free: 41.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002418/0.611, allocations: 2.186 MB / 494.1 MB, free: 38.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.611, allocations: 12 kB / 494.1 MB, free: 38.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.673e-05/0.6111, allocations: 27.89 kB / 494.1 MB, free: 38.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/0.6223, allocations: 9.514 MB / 0.4918 GB, free: 30.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/0.6223, allocations: 4.281 kB / 0.4918 GB, free: 30.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001929/0.6242, allocations: 0.9284 MB / 0.4927 GB, free: 29.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/0.6256, allocations: 0.6021 MB / 0.4933 GB, free: 29.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001794/0.6274, allocations: 1.062 MB / 0.4944 GB, free: 28.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001724/0.6276, allocations: 104 kB / 0.4945 GB, free: 28.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0044/0.632, allocations: 4.647 MB / 0.499 GB, free: 23.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.632, allocations: 0 / 0.499 GB, free: 23.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004238/0.6362, allocations: 4.054 MB / 0.503 GB, free: 19.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004737/0.6367, allocations: 95.98 kB / 0.5031 GB, free: 19.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009721/0.6377, allocations: 136 kB / 0.5032 GB, free: 19.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003589/0.638, allocations: 364 kB / 0.5035 GB, free: 18.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001734/0.6382, allocations: 108 kB / 0.5036 GB, free: 18.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009959/0.6392, allocations: 1.207 MB / 0.5048 GB, free: 17.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6392, allocations: 0 / 0.5048 GB, free: 17.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004366/0.6436, allocations: 1.918 MB / 0.5067 GB, free: 15.67 MB / 378.7 MB 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.0004474/0.644, allocations: 302.6 kB / 0.507 GB, free: 15.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004592/0.6486, allocations: 3.838 MB / 0.5107 GB, free: 11.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001753/0.6488, allocations: 129 kB / 0.5108 GB, free: 11.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001952/0.6507, allocations: 2.027 MB / 0.5128 GB, free: 9.812 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002476/0.6532, allocations: 1.405 MB / 0.5142 GB, free: 8.441 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06122/0.7144, allocations: 16.37 MB / 0.5302 GB, free: 8.008 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002211/0.7166, allocations: 2.172 MB / 0.5323 GB, free: 5.801 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002567/0.7192, allocations: 0.8137 MB / 0.5331 GB, free: 4.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00185/0.721, allocations: 1.034 MB / 0.5341 GB, free: 3.938 MB / 394.7 MB Notification: Performance of SimCode: time 1.583e-06/0.721, allocations: 0.875 kB / 0.5341 GB, free: 3.938 MB / 394.7 MB Notification: Performance of Templates: time 0.2207/0.9418, allocations: 80.3 MB / 0.6125 GB, free: 81.72 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.735521687194705]