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.00104/0.00104, allocations: 82.28 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001208/0.001208, allocations: 151 kB / 25.59 MB, free: 8.934 MB / 18.57 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.9192/0.9192, allocations: 173.4 MB / 202.2 MB, free: 8.328 MB / 186.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.203e-06/1.203e-06, allocations: 0 / 269.2 MB, free: 9.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.204e-05, allocations: 5.266 kB / 269.2 MB, free: 9.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.0194/0.01942, allocations: 25.28 MB / 294.5 MB, free: 356 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01473/0.03415, allocations: 7.936 MB / 302.4 MB, free: 8.402 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004992/0.03915, allocations: 234.8 kB / 302.7 MB, free: 8.172 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01254/0.05169, allocations: 9.683 MB / 312.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009702/0.06139, allocations: 3.445 MB / 315.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004697/0.06609, allocations: 1.818 MB / 317.6 MB, free: 9.164 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01441/0.0805, allocations: 12.66 MB / 330.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1679/0.2484, allocations: 15.89 MB / 346.2 MB, free: 23.44 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01579/0.2642, allocations: 9.82 MB / 356 MB, free: 23.44 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01094/0.2752, allocations: 7.137 MB / 363.1 MB, free: 23.44 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005029/0.2802, allocations: 1.832 MB / 365 MB, free: 23.44 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005981/0.2862, allocations: 2.197 MB / 367.2 MB, free: 23.44 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004779/0.2909, allocations: 3.74 MB / 370.9 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01051/0.3015, allocations: 4.685 MB / 375.6 MB, free: 20.78 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01408/0.3155, allocations: 11.76 MB / 387.3 MB, free: 12.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3155, allocations: 4 kB / 387.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3155, allocations: 0 / 387.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005986/0.3161, allocations: 3.562 kB / 387.4 MB, free: 12.61 MB / 314.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.02819/0.3443, allocations: 14.52 MB / 401.9 MB, free: 14.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3444, allocations: 12.03 kB / 401.9 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02534/0.3697, allocations: 7.867 MB / 409.8 MB, free: 6.953 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01187/0.3816, allocations: 6.893 MB / 416.6 MB, free: 304 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006324/0.3822, allocations: 0.8062 MB / 417.4 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003441/0.3856, allocations: 1.066 MB / 418.5 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02638/0.412, allocations: 8.862 MB / 427.4 MB, free: 5.984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003386/0.4124, allocations: 7.953 kB / 427.4 MB, free: 5.977 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002694/0.4151, allocations: 447.2 kB / 427.8 MB, free: 5.555 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005539/0.4156, allocations: 0.6711 MB / 428.5 MB, free: 4.883 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01473/0.4303, allocations: 4.346 MB / 432.8 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07244/0.5028, allocations: 45.28 MB / 478.1 MB, free: 4.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/0.5135, allocations: 9.298 MB / 487.4 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002272/0.5158, allocations: 1.474 MB / 488.9 MB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002686/0.516, allocations: 128 kB / 489 MB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.032e-05/0.5161, allocations: 89.45 kB / 489.1 MB, free: 11.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=518): time 7.604e-06/0.5161, allocations: 3.75 kB / 489.1 MB, free: 11.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=524): time 0.0223/0.5384, allocations: 10.42 MB / 499.5 MB, free: 1.066 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/0.5385, allocations: 111.4 kB / 499.6 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2688/0.8072, allocations: 3.628 MB / 0.4915 GB, free: 98.48 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008409/0.8081, allocations: 108.6 kB / 0.4916 GB, free: 98.45 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002398/0.8105, allocations: 4.962 MB / 0.4964 GB, free: 96.8 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001824/0.8123, allocations: 1.919 MB / 0.4983 GB, free: 95.82 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001637/0.8139, allocations: 1.517 MB / 0.4998 GB, free: 95.71 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.814, allocations: 476.8 kB / 0.5002 GB, free: 95.24 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.815, allocations: 0.8292 MB / 0.501 GB, free: 95.22 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002408/0.8174, allocations: 4.513 MB / 0.5054 GB, free: 90.93 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004802/0.8222, allocations: 6.031 MB / 0.5113 GB, free: 86.61 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.199e-05/0.8223, allocations: 29.94 kB / 0.5114 GB, free: 86.6 MB / 410.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.007635/0.8299, allocations: 5.696 MB / 0.5169 GB, free: 86.03 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.65e-05/0.83, allocations: 43.81 kB / 0.517 GB, free: 86.02 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.444e-05/0.8301, allocations: 77.69 kB / 0.517 GB, free: 86.02 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002277/0.8323, allocations: 1.254 MB / 0.5183 GB, free: 85.97 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002952/0.8353, allocations: 1.475 MB / 0.5197 GB, free: 85.97 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006446/0.8417, allocations: 6.389 MB / 0.5259 GB, free: 83.74 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003519/0.8452, allocations: 264.2 kB / 0.5262 GB, free: 83.72 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006783/0.8459, allocations: 275.6 kB / 0.5265 GB, free: 83.72 MB / 410.8 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.002405/0.8483, allocations: 0.6076 MB / 0.5271 GB, free: 83.56 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009149/0.8492, allocations: 0.6318 MB / 0.5277 GB, free: 83.3 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005192/0.8544, allocations: 4.177 MB / 0.5317 GB, free: 82.91 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003362/0.8578, allocations: 2.879 MB / 0.5346 GB, free: 82.64 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.8578, allocations: 11.62 kB / 0.5346 GB, free: 82.64 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.363e-05/0.8578, allocations: 27.19 kB / 0.5346 GB, free: 82.64 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01804/0.8759, allocations: 12.5 MB / 0.5468 GB, free: 79.63 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.8759, allocations: 288 / 0.5468 GB, free: 79.63 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001765/0.8777, allocations: 0.8174 MB / 0.5476 GB, free: 78.99 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002117/0.8798, allocations: 1.114 MB / 0.5487 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000289/0.8801, allocations: 108.4 kB / 0.5488 GB, free: 78.07 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005272/0.8853, allocations: 5.864 MB / 0.5545 GB, free: 72.81 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8853, allocations: 4 kB / 0.5545 GB, free: 72.8 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006239/0.8916, allocations: 4.931 MB / 0.5593 GB, free: 68.45 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001844/0.8934, allocations: 0.9006 MB / 0.5602 GB, free: 67.68 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004772/0.8939, allocations: 96 kB / 0.5603 GB, free: 67.58 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.895, allocations: 139.6 kB / 0.5604 GB, free: 67.45 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005706/0.8955, allocations: 370.3 kB / 0.5608 GB, free: 67.27 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001807/0.8957, allocations: 114.4 kB / 0.5609 GB, free: 67.17 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001657/0.8974, allocations: 1.567 MB / 0.5624 GB, free: 66.05 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8974, allocations: 0 / 0.5624 GB, free: 66.05 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.006637/0.904, allocations: 1.906 MB / 0.5643 GB, free: 64.15 MB / 410.8 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.0007422/0.9047, allocations: 321.5 kB / 0.5646 GB, free: 63.9 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.006625/0.9114, allocations: 4.425 MB / 0.5689 GB, free: 60.32 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.9114, allocations: 5.938 kB / 0.5689 GB, free: 60.32 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003063/0.9144, allocations: 2.317 MB / 0.5712 GB, free: 58.44 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004137/0.9186, allocations: 1.034 MB / 0.5722 GB, free: 57.59 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02022/0.9388, allocations: 15.9 MB / 0.5877 GB, free: 41.82 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002982/0.9418, allocations: 2.978 MB / 0.5906 GB, free: 38.8 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.002764/0.9445, allocations: 0.8098 MB / 0.5914 GB, free: 37.98 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001859/0.9464, allocations: 1.162 MB / 0.5926 GB, free: 36.82 MB / 410.8 MB Notification: Performance of SimCode: time 2.004e-06/0.9464, allocations: 0 / 0.5926 GB, free: 36.82 MB / 410.8 MB Notification: Performance of Templates: time 0.2237/1.17, allocations: 78.68 MB / 0.6694 GB, free: 110.2 MB / 426.8 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 -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: 5.414479363709688]