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.0008585/0.0008585, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001262/0.00212, allocations: 445.8 kB / 10.44 MB, free: 256 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.0007028/0.0007028, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001097/0.0018, allocations: 475.6 kB / 11.8 MB, free: 2.367 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.872/0.872, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.173/1.045, allocations: 52.49 MB / 238.5 MB, free: 7.629 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.193e-06/1.193e-06, allocations: 0 / 239.8 MB, free: 6.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115e-05/1.234e-05, allocations: 2.312 kB / 239.8 MB, free: 6.34 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.01733/0.01734, allocations: 25.52 MB / 265.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01515/0.03249, allocations: 8.4 MB / 273.7 MB, free: 4.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003556/0.03605, allocations: 234.8 kB / 273.9 MB, free: 4.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01038/0.04643, allocations: 9.92 MB / 283.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008515/0.05494, allocations: 3.453 MB / 287.3 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00314/0.05808, allocations: 1.811 MB / 289.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01108/0.06916, allocations: 12.72 MB / 301.8 MB, free: 8.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01544/0.08461, allocations: 15.92 MB / 317.7 MB, free: 7.895 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1748/0.2594, allocations: 10.13 MB / 327.9 MB, free: 18.17 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01208/0.2715, allocations: 7.207 MB / 335.1 MB, free: 18.17 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004736/0.2763, allocations: 1.831 MB / 336.9 MB, free: 18.17 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005226/0.2815, allocations: 2.223 MB / 339.1 MB, free: 18.17 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001782/0.2833, allocations: 2.973 MB / 342.1 MB, free: 18.17 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005231/0.2885, allocations: 3.918 MB / 346 MB, free: 18.17 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01421/0.3027, allocations: 11.09 MB / 357.1 MB, free: 16.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.85e-05/0.3027, allocations: 0 / 357.1 MB, free: 16.6 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.3027, allocations: 3.406 kB / 357.1 MB, free: 16.6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005915/0.3033, allocations: 0 / 357.1 MB, free: 16.6 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.02282/0.3261, allocations: 15.88 MB / 373 MB, free: 5.867 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3262, allocations: 12.03 kB / 373 MB, free: 5.855 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02051/0.3467, allocations: 8.293 MB / 381.3 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008246/0.3549, allocations: 4.015 MB / 385.3 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004382/0.3554, allocations: 0.8055 MB / 386.1 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001513/0.3569, allocations: 1.059 MB / 387.2 MB, free: 9.762 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0126/0.3695, allocations: 9.062 MB / 396.2 MB, free: 1.098 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001799/0.3697, allocations: 23.02 kB / 396.3 MB, free: 1.082 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008373/0.3705, allocations: 447.2 kB / 396.7 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004853/0.371, allocations: 0.6398 MB / 397.3 MB, free: 20 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008004/0.379, allocations: 4.772 MB / 402.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03922/0.4182, allocations: 34.75 MB / 436.9 MB, free: 9.531 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008518/0.4267, allocations: 7.086 MB / 444 MB, free: 2.582 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.4282, allocations: 1.276 MB / 445.2 MB, free: 1.328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002846/0.4285, allocations: 135.9 kB / 445.4 MB, free: 1.191 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.606e-05/0.4285, allocations: 90.28 kB / 445.4 MB, free: 1.094 MB / 378.7 MB Notification: Performance of pre-optimization done (n=518): time 7.514e-06/0.4285, allocations: 0 / 445.4 MB, free: 1.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=524): time 0.02146/0.45, allocations: 10.42 MB / 455.9 MB, free: 6.633 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.4501, allocations: 103.5 kB / 456 MB, free: 6.516 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002676/0.4527, allocations: 2.647 MB / 458.6 MB, free: 4.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002322/0.453, allocations: 115.6 kB / 458.7 MB, free: 4.297 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001894/0.4549, allocations: 4.282 MB / 463 MB, free: 152 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001062/0.4559, allocations: 1.842 MB / 464.9 MB, free: 14.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001295/0.4572, allocations: 1.238 MB / 466.1 MB, free: 13.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.32e-05/0.4573, allocations: 305.1 kB / 466.4 MB, free: 13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.4586, allocations: 0.9491 MB / 467.3 MB, free: 12.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002262/0.4609, allocations: 3.189 MB / 470.5 MB, free: 7.953 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005364/0.4662, allocations: 5.104 MB / 475.6 MB, free: 2.145 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.495e-05/0.4663, allocations: 24 kB / 475.7 MB, free: 2.121 MB / 410.7 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.2/0.6663, allocations: 4.63 MB / 480.3 MB, free: 99.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.705e-05/0.6664, allocations: 37.78 kB / 480.3 MB, free: 99.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001216/0.6665, allocations: 80.62 kB / 480.4 MB, free: 99.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002347/0.6689, allocations: 1.198 MB / 481.6 MB, free: 99.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003869/0.6727, allocations: 1.666 MB / 483.3 MB, free: 99.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005665/0.6784, allocations: 5.061 MB / 488.3 MB, free: 97.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002887/0.6813, allocations: 256.1 kB / 488.6 MB, free: 97.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003531/0.6816, allocations: 271.1 kB / 488.8 MB, free: 97.86 MB / 410.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.002595/0.6842, allocations: 0.5633 MB / 489.4 MB, free: 97.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006796/0.6849, allocations: 440.1 kB / 489.8 MB, free: 97.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004589/0.6895, allocations: 3.453 MB / 493.3 MB, free: 97.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002813/0.6923, allocations: 2.195 MB / 495.5 MB, free: 97.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.6923, allocations: 13.47 kB / 495.5 MB, free: 97.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.2e-05/0.6924, allocations: 26.06 kB / 495.5 MB, free: 97.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/0.7046, allocations: 9.507 MB / 0.4932 GB, free: 96.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.7046, allocations: 4.031 kB / 0.4932 GB, free: 96.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00189/0.7065, allocations: 0.9242 MB / 0.4941 GB, free: 96.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/0.7076, allocations: 0.6087 MB / 0.4947 GB, free: 96.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001822/0.7094, allocations: 1.059 MB / 0.4957 GB, free: 96.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001858/0.7096, allocations: 110.7 kB / 0.4958 GB, free: 96.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004465/0.7141, allocations: 4.603 MB / 0.5003 GB, free: 94.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.7141, allocations: 3.438 kB / 0.5003 GB, free: 94.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004665/0.7188, allocations: 4.068 MB / 0.5043 GB, free: 94.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003611/0.7191, allocations: 94.34 kB / 0.5044 GB, free: 94.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009062/0.72, allocations: 136.8 kB / 0.5045 GB, free: 94.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004243/0.7204, allocations: 358.6 kB / 0.5049 GB, free: 94.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001843/0.7206, allocations: 111 kB / 0.505 GB, free: 94.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009364/0.7216, allocations: 1.209 MB / 0.5062 GB, free: 94.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.7216, allocations: 0 / 0.5062 GB, free: 94.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004163/0.7257, allocations: 1.924 MB / 0.508 GB, free: 94.2 MB / 410.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.0005544/0.7263, allocations: 292.9 kB / 0.5083 GB, free: 94.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005349/0.7316, allocations: 3.938 MB / 0.5122 GB, free: 93.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001902/0.7318, allocations: 116.2 kB / 0.5123 GB, free: 93.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003294/0.7351, allocations: 2.613 MB / 0.5148 GB, free: 91.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004528/0.7396, allocations: 8.25 MB / 0.5229 GB, free: 82.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07107/0.8107, allocations: 16.36 MB / 0.5388 GB, free: 66.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005233/0.816, allocations: 2.176 MB / 0.541 GB, free: 64.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003503/0.8195, allocations: 0.802 MB / 0.5418 GB, free: 63.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002234/0.8217, allocations: 1.042 MB / 0.5428 GB, free: 62.26 MB / 410.7 MB Notification: Performance of SimCode: time 2.265e-06/0.8217, allocations: 0 / 0.5428 GB, free: 62.26 MB / 410.7 MB Notification: Performance of Templates: time 0.2585/1.08, allocations: 81.95 MB / 0.6228 GB, free: 117.8 MB / 426.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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.834557780995965]