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.0009937/0.0009937, allocations: 83.89 kB / 21.19 MB, free: 3.383 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.0008396/0.0008396, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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.886/0.886, allocations: 173.3 MB / 201.1 MB, free: 9.336 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.603e-06/1.603e-06, allocations: 0 / 268 MB, free: 6.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.038e-05, allocations: 2.312 kB / 268 MB, free: 6.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1436/0.1436, allocations: 26.45 MB / 294.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01511/0.1587, allocations: 7.97 MB / 302.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003989/0.1627, allocations: 236.4 kB / 302.7 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009477/0.1722, allocations: 10.03 MB / 312.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005687/0.1779, allocations: 3.466 MB / 316.2 MB, free: 7.551 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.1802, allocations: 1.828 MB / 318 MB, free: 6.145 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0081/0.1883, allocations: 12.66 MB / 330.7 MB, free: 12.19 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01819/0.2065, allocations: 15.89 MB / 346.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01066/0.2172, allocations: 9.813 MB / 356.4 MB, free: 2.277 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007815/0.225, allocations: 7.12 MB / 363.5 MB, free: 11.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003007/0.228, allocations: 1.832 MB / 365.3 MB, free: 9.309 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003898/0.2319, allocations: 2.202 MB / 367.5 MB, free: 7.105 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002754/0.2347, allocations: 3.733 MB / 371.3 MB, free: 3.363 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006043/0.2407, allocations: 4.69 MB / 376 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01221/0.2529, allocations: 11.75 MB / 387.7 MB, free: 2.879 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.2529, allocations: 4 kB / 387.7 MB, free: 2.875 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2529, allocations: 0 / 387.7 MB, free: 2.875 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003376/0.2533, allocations: 3.938 kB / 387.7 MB, free: 2.871 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.02278/0.276, allocations: 15.53 MB / 403.2 MB, free: 3.238 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.2761, allocations: 12.92 kB / 403.3 MB, free: 3.227 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02514/0.3012, allocations: 10.47 MB / 413.7 MB, free: 8.738 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01006/0.3113, allocations: 7.383 MB / 421.1 MB, free: 1.258 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000476/0.3118, allocations: 0.8106 MB / 421.9 MB, free: 456 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001643/0.3134, allocations: 1.066 MB / 423 MB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01588/0.3293, allocations: 9.675 MB / 432.7 MB, free: 5.586 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001581/0.3294, allocations: 15.91 kB / 432.7 MB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000777/0.3302, allocations: 444 kB / 433.1 MB, free: 5.137 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004363/0.3307, allocations: 0.6788 MB / 433.8 MB, free: 4.457 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2233/0.554, allocations: 5.571 MB / 439.4 MB, free: 86.07 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04147/0.5954, allocations: 46.03 MB / 485.4 MB, free: 65.88 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009683/0.6051, allocations: 11.08 MB / 496.5 MB, free: 60.98 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001789/0.6069, allocations: 1.718 MB / 498.2 MB, free: 59.25 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002121/0.6071, allocations: 134.6 kB / 498.3 MB, free: 59.12 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.6072, allocations: 91.09 kB / 498.4 MB, free: 59.02 MB / 378.8 MB Notification: Performance of pre-optimization done (n=518): time 6.472e-06/0.6072, allocations: 0 / 498.4 MB, free: 59.02 MB / 378.8 MB Notification: Performance of matching and sorting (n=524): time 0.01894/0.6261, allocations: 12.56 MB / 0.499 GB, free: 46.76 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.6261, allocations: 107.5 kB / 0.4991 GB, free: 46.64 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002852/0.629, allocations: 3.699 MB / 0.5027 GB, free: 43.05 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001864/0.6292, allocations: 109.7 kB / 0.5028 GB, free: 42.94 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001477/0.6307, allocations: 4.933 MB / 0.5076 GB, free: 38.38 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007148/0.6314, allocations: 1.899 MB / 0.5095 GB, free: 36.5 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001239/0.6326, allocations: 1.497 MB / 0.511 GB, free: 35 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.108e-05/0.6326, allocations: 480.8 kB / 0.5114 GB, free: 34.52 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/0.6341, allocations: 1.087 MB / 0.5125 GB, free: 33.43 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002425/0.6366, allocations: 4.735 MB / 0.5171 GB, free: 27.23 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004392/0.641, allocations: 6.471 MB / 0.5234 GB, free: 19.52 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-05/0.641, allocations: 20 kB / 0.5234 GB, free: 19.5 MB / 378.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.006805/0.6478, allocations: 6.296 MB / 0.5296 GB, free: 13.64 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.6478, allocations: 39.94 kB / 0.5296 GB, free: 13.6 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.98e-05/0.6479, allocations: 80 kB / 0.5297 GB, free: 13.52 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002142/0.65, allocations: 1.299 MB / 0.531 GB, free: 12.22 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002641/0.6526, allocations: 1.609 MB / 0.5325 GB, free: 10.72 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006494/0.6591, allocations: 6.777 MB / 0.5392 GB, free: 3.879 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/0.6611, allocations: 395.5 kB / 0.5395 GB, free: 3.492 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003036/0.6614, allocations: 346.9 kB / 0.5399 GB, free: 3.156 MB / 378.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.001818/0.6632, allocations: 0.5991 MB / 0.5404 GB, free: 2.652 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006389/0.6638, allocations: 0.6337 MB / 0.5411 GB, free: 2.016 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005926/0.6697, allocations: 4.633 MB / 0.5456 GB, free: 13.32 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004793/0.6745, allocations: 3.346 MB / 0.5489 GB, free: 9.926 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.6745, allocations: 12 kB / 0.5489 GB, free: 9.914 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.808e-05/0.6746, allocations: 27.89 kB / 0.5489 GB, free: 9.887 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01576/0.6903, allocations: 13.13 MB / 0.5617 GB, free: 12.83 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.6903, allocations: 0 / 0.5617 GB, free: 12.83 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001944/0.6923, allocations: 0.9274 MB / 0.5626 GB, free: 11.95 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002141/0.6944, allocations: 1.165 MB / 0.5638 GB, free: 10.78 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001869/0.6946, allocations: 112.6 kB / 0.5639 GB, free: 10.67 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006664/0.7013, allocations: 6.177 MB / 0.5699 GB, free: 4.406 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.7013, allocations: 4 kB / 0.5699 GB, free: 4.402 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00724/0.7085, allocations: 5.641 MB / 0.5754 GB, free: 14.59 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/0.7101, allocations: 0.9963 MB / 0.5764 GB, free: 13.59 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003562/0.7104, allocations: 96 kB / 0.5765 GB, free: 13.5 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.7115, allocations: 267.8 kB / 0.5767 GB, free: 13.24 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004432/0.712, allocations: 371.7 kB / 0.5771 GB, free: 12.88 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001992/0.7122, allocations: 148 kB / 0.5772 GB, free: 12.73 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001778/0.714, allocations: 1.681 MB / 0.5789 GB, free: 11.07 MB / 426.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.714, allocations: 0.5469 kB / 0.5789 GB, free: 11.07 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.004022/0.718, allocations: 1.918 MB / 0.5808 GB, free: 9.148 MB / 426.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.0004696/0.7185, allocations: 313 kB / 0.5811 GB, free: 8.891 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.00618/0.7246, allocations: 4.908 MB / 0.5858 GB, free: 4.156 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.7246, allocations: 9.672 kB / 0.5859 GB, free: 4.148 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002831/0.7275, allocations: 2.551 MB / 0.5883 GB, free: 1.652 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/0.7298, allocations: 1.026 MB / 0.5893 GB, free: 0.6562 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1239/0.8537, allocations: 16.09 MB / 0.6051 GB, free: 124.7 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001897/0.8556, allocations: 2.983 MB / 0.608 GB, free: 124.4 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003144/0.8587, allocations: 1.932 MB / 0.6099 GB, free: 124.3 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008573/0.8596, allocations: 411.3 kB / 0.6102 GB, free: 124.3 MB / 426.8 MB Notification: Performance of SimCode: time 2.695e-06/0.8596, allocations: 0 / 0.6102 GB, free: 124.3 MB / 426.8 MB Notification: Performance of Templates: time 0.07474/0.9343, allocations: 74.32 MB / 0.6828 GB, free: 62.38 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: 4.6441956628113985]