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.001364/0.001364, allocations: 108.6 kB / 21.18 MB, free: 0.7539 MB / 14.72 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.001585/0.001585, allocations: 193.1 kB / 24.47 MB, free: 4.156 MB / 14.72 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 1.52/1.52, allocations: 225.6 MB / 253.3 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00241/0.00241, allocations: 55.92 kB / 371.7 MB, free: 9.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3138, allocations: 52.18 MB / 423.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03167/0.3455, allocations: 27.12 MB / 451 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01809/0.3636, allocations: 8.074 MB / 459.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005879/0.3695, allocations: 238.8 kB / 459.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02338/0.3928, allocations: 9.502 MB / 468.9 MB, free: 1.543 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01242/0.4053, allocations: 3.462 MB / 472.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007356/0.4126, allocations: 1.863 MB / 474.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0196/0.4322, allocations: 12.26 MB / 486.4 MB, free: 15.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03803/0.4702, allocations: 16.02 MB / 0.4907 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01201/0.4823, allocations: 6.628 MB / 0.4972 GB, free: 9.055 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01402/0.4963, allocations: 7.261 MB / 0.5043 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007182/0.5035, allocations: 1.84 MB / 0.5061 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008451/0.5119, allocations: 2.218 MB / 0.5082 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008444/0.5204, allocations: 3.62 MB / 0.5118 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01479/0.5351, allocations: 6.923 MB / 0.5185 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5799/1.115, allocations: 24.79 MB / 0.5427 GB, free: 44.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/1.115, allocations: 0 / 0.5427 GB, free: 44.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.394e-06/1.115, allocations: 0 / 0.5427 GB, free: 44.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008213/1.116, allocations: 0 / 0.5427 GB, free: 44.21 MB / 446.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.051/1.167, allocations: 14.66 MB / 0.557 GB, free: 40.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/1.167, allocations: 9.438 kB / 0.557 GB, free: 40.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04678/1.214, allocations: 8.54 MB / 0.5654 GB, free: 37.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02164/1.235, allocations: 7.753 MB / 0.573 GB, free: 35.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007447/1.236, allocations: 0.8062 MB / 0.5737 GB, free: 35.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006104/1.242, allocations: 1.056 MB / 0.5748 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04894/1.291, allocations: 18.29 MB / 0.5926 GB, free: 17.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004443/1.292, allocations: 15.94 kB / 0.5927 GB, free: 17.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005228/1.297, allocations: 449.7 kB / 0.5931 GB, free: 17.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005805/1.297, allocations: 0.6662 MB / 0.5937 GB, free: 16.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03933/1.337, allocations: 17.54 MB / 0.6109 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1307/1.467, allocations: 56.78 MB / 0.6663 GB, free: 6.145 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02776/1.495, allocations: 12.8 MB / 0.6788 GB, free: 11.43 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008587/1.504, allocations: 3.737 MB / 0.6825 GB, free: 7.676 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007639/1.505, allocations: 116.6 kB / 0.6826 GB, free: 7.574 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/1.505, allocations: 90.62 kB / 0.6827 GB, free: 7.473 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 1.119e-05/1.505, allocations: 3.469 kB / 0.6827 GB, free: 7.473 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.06243/1.567, allocations: 21.38 MB / 0.7035 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/1.567, allocations: 114.9 kB / 0.7037 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009749/1.577, allocations: 4.175 MB / 0.7077 GB, free: 13.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001085/1.578, allocations: 109.7 kB / 0.7078 GB, free: 13.51 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004413/1.582, allocations: 4.665 MB / 0.7124 GB, free: 8.836 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003079/1.586, allocations: 1.871 MB / 0.7142 GB, free: 6.992 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004903/1.59, allocations: 1.355 MB / 0.7155 GB, free: 5.629 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.591, allocations: 309.1 kB / 0.7158 GB, free: 5.324 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006958/1.598, allocations: 3.441 MB / 0.7192 GB, free: 1.879 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009941/1.607, allocations: 5.881 MB / 0.7249 GB, free: 10.94 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01748/1.625, allocations: 10.01 MB / 0.7347 GB, free: 88 kB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.191e-05/1.625, allocations: 27.28 kB / 0.7347 GB, free: 64 kB / 0.5607 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.0277/1.653, allocations: 10.93 MB / 0.7454 GB, free: 5.543 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/1.653, allocations: 36 kB / 0.7455 GB, free: 5.508 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001866/1.653, allocations: 80 kB / 0.7455 GB, free: 5.43 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004322/1.657, allocations: 1.452 MB / 0.7469 GB, free: 3.98 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006737/1.664, allocations: 1.609 MB / 0.7485 GB, free: 2.48 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3004/1.965, allocations: 11.4 MB / 0.7596 GB, free: 208.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005842/1.97, allocations: 415.8 kB / 0.76 GB, free: 208.6 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001134/1.972, allocations: 333.6 kB / 0.7604 GB, free: 208.5 MB / 0.5763 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.007207/1.979, allocations: 4.16 MB / 0.7644 GB, free: 206.6 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001247/1.98, allocations: 0.4918 MB / 0.7649 GB, free: 206.6 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/1.993, allocations: 8.446 MB / 0.7732 GB, free: 203.2 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00991/2.003, allocations: 7.045 MB / 0.78 GB, free: 200.5 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.31e-05/2.003, allocations: 11.72 kB / 0.78 GB, free: 200.5 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.76e-05/2.003, allocations: 26.58 kB / 0.7801 GB, free: 200.5 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02972/2.033, allocations: 18.77 MB / 0.7984 GB, free: 190.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/2.033, allocations: 3.938 kB / 0.7984 GB, free: 190.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003507/2.036, allocations: 0.9397 MB / 0.7993 GB, free: 189.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003305/2.04, allocations: 1.3 MB / 0.8006 GB, free: 188.7 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005535/2.04, allocations: 113.8 kB / 0.8007 GB, free: 188.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01225/2.053, allocations: 10.1 MB / 0.8106 GB, free: 179.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/2.053, allocations: 4 kB / 0.8106 GB, free: 179.1 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01681/2.069, allocations: 12.26 MB / 0.8225 GB, free: 166.9 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003496/2.073, allocations: 1.132 MB / 0.8236 GB, free: 165.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001057/2.074, allocations: 92 kB / 0.8237 GB, free: 165.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002752/2.077, allocations: 271.7 kB / 0.824 GB, free: 165.4 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006908/2.077, allocations: 376.2 kB / 0.8243 GB, free: 165 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002781/2.078, allocations: 148 kB / 0.8245 GB, free: 164.9 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003913/2.082, allocations: 2.815 MB / 0.8272 GB, free: 162 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/2.082, allocations: 0 / 0.8272 GB, free: 162 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.007058/2.089, allocations: 1.941 MB / 0.8291 GB, free: 160.1 MB / 0.5763 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.0008916/2.089, allocations: 303.8 kB / 0.8294 GB, free: 159.8 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01277/2.102, allocations: 8.38 MB / 0.8376 GB, free: 151.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/2.102, allocations: 1.75 kB / 0.8376 GB, free: 151.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007488/2.11, allocations: 3.906 MB / 0.8414 GB, free: 147.4 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006311/2.116, allocations: 1.123 MB / 0.8425 GB, free: 146.3 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03233/2.148, allocations: 19.32 MB / 0.8614 GB, free: 126.9 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005706/2.154, allocations: 6.807 MB / 0.868 GB, free: 120.1 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002126/2.156, allocations: 463.3 kB / 0.8685 GB, free: 119.6 MB / 0.5763 GB Notification: Performance of SimCode: time 1.804e-06/2.156, allocations: 0 / 0.8685 GB, free: 119.6 MB / 0.5763 GB Notification: Performance of Templates: time 0.5117/2.668, allocations: 183 MB / 1.047 GB, free: 164.8 MB / 0.5763 GB " [Timeout remaining time 657] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 19.097732853144407]