Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 208.2 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002644/0.002644, allocations: 51.92 kB / 379 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2525, allocations: 53.37 MB / 432.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02882/0.2813, allocations: 23.21 MB / 455.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01497/0.2963, allocations: 7.841 MB / 463.4 MB, free: 7.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002405/0.2987, allocations: 238.8 kB / 463.7 MB, free: 7.285 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02007/0.3188, allocations: 8.755 MB / 472.4 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008656/0.3274, allocations: 3.4 MB / 475.8 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004146/0.3316, allocations: 1.819 MB / 477.6 MB, free: 9.285 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01405/0.3456, allocations: 12.37 MB / 490 MB, free: 12.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0231/0.3687, allocations: 16.04 MB / 0.4942 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008418/0.3771, allocations: 6.644 MB / 0.5007 GB, free: 5.984 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01018/0.3873, allocations: 7.293 MB / 0.5078 GB, free: 14.67 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002741/0.3901, allocations: 1.832 MB / 0.5096 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00403/0.3941, allocations: 2.218 MB / 0.5117 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003281/0.3974, allocations: 3.612 MB / 0.5153 GB, free: 6.996 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0069/0.4043, allocations: 5.359 MB / 0.5205 GB, free: 1.617 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3486/0.7529, allocations: 24.89 MB / 0.5448 GB, free: 42.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.7529, allocations: 0 / 0.5448 GB, free: 42.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.7529, allocations: 0 / 0.5448 GB, free: 42.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004476/0.7534, allocations: 1.312 kB / 0.5448 GB, free: 42.44 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.03217/0.7855, allocations: 14.66 MB / 0.5591 GB, free: 38.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.7856, allocations: 10.31 kB / 0.5591 GB, free: 38.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04426/0.8298, allocations: 8.432 MB / 0.5674 GB, free: 35.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01448/0.8443, allocations: 7.816 MB / 0.575 GB, free: 32.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003956/0.8447, allocations: 0.8043 MB / 0.5758 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002194/0.8469, allocations: 1.057 MB / 0.5768 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02865/0.8756, allocations: 18.55 MB / 0.5949 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002301/0.8758, allocations: 11.95 kB / 0.595 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001248/0.877, allocations: 449.5 kB / 0.5954 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004696/0.8775, allocations: 0.6672 MB / 0.596 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.025/0.9025, allocations: 17.48 MB / 0.6131 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08631/0.9888, allocations: 50.33 MB / 0.6623 GB, free: 10.27 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02354/1.012, allocations: 12.66 MB / 0.6746 GB, free: 15.7 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00569/1.018, allocations: 3.725 MB / 0.6783 GB, free: 11.95 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003805/1.018, allocations: 127.9 kB / 0.6784 GB, free: 11.82 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.565e-05/1.019, allocations: 90.62 kB / 0.6785 GB, free: 11.72 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 8.716e-06/1.019, allocations: 0 / 0.6785 GB, free: 11.72 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.04688/1.065, allocations: 21.24 MB / 0.6992 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.055e-05/1.065, allocations: 107.5 kB / 0.6993 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005725/1.071, allocations: 3.999 MB / 0.7032 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003136/1.072, allocations: 105.7 kB / 0.7033 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003391/1.075, allocations: 4.689 MB / 0.7079 GB, free: 13.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001634/1.077, allocations: 1.865 MB / 0.7097 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002178/1.079, allocations: 1.379 MB / 0.7111 GB, free: 10.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.079, allocations: 301.1 kB / 0.7113 GB, free: 9.906 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005426/1.084, allocations: 3.434 MB / 0.7147 GB, free: 6.469 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007575/1.092, allocations: 5.895 MB / 0.7205 GB, free: 15.51 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01392/1.106, allocations: 10.02 MB / 0.7302 GB, free: 4.652 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-05/1.106, allocations: 24 kB / 0.7303 GB, free: 4.629 MB / 0.5607 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01902/1.125, allocations: 10.88 MB / 0.7409 GB, free: 10.17 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.003e-05/1.125, allocations: 40 kB / 0.7409 GB, free: 10.13 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/1.125, allocations: 76 kB / 0.741 GB, free: 10.05 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003845/1.129, allocations: 1.378 MB / 0.7423 GB, free: 8.676 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005974/1.135, allocations: 1.614 MB / 0.7439 GB, free: 7.168 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.206/1.341, allocations: 10.93 MB / 0.7546 GB, free: 202.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004504/1.345, allocations: 402.4 kB / 0.755 GB, free: 202.6 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004924/1.346, allocations: 345 kB / 0.7553 GB, free: 202.6 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.004814/1.351, allocations: 4.163 MB / 0.7594 GB, free: 202.5 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007842/1.351, allocations: 482.4 kB / 0.7598 GB, free: 202.5 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/1.364, allocations: 8.39 MB / 0.768 GB, free: 199.6 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009157/1.373, allocations: 7.025 MB / 0.7749 GB, free: 196.9 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.779e-05/1.373, allocations: 15.48 kB / 0.7749 GB, free: 196.9 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.952e-05/1.373, allocations: 24.42 kB / 0.7749 GB, free: 196.9 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02268/1.395, allocations: 16.12 MB / 0.7907 GB, free: 188.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/1.395, allocations: 4 kB / 0.7907 GB, free: 188.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003586/1.399, allocations: 0.9381 MB / 0.7916 GB, free: 187.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002884/1.402, allocations: 1.231 MB / 0.7928 GB, free: 186.7 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002898/1.402, allocations: 115.8 kB / 0.7929 GB, free: 186.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01147/1.414, allocations: 9.654 MB / 0.8023 GB, free: 178.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.414, allocations: 4 kB / 0.8023 GB, free: 178.3 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01461/1.428, allocations: 12.21 MB / 0.8143 GB, free: 167.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002501/1.431, allocations: 1.093 MB / 0.8153 GB, free: 166.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005889/1.431, allocations: 95.98 kB / 0.8154 GB, free: 166.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002258/1.434, allocations: 269.6 kB / 0.8157 GB, free: 166.2 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005898/1.434, allocations: 376.2 kB / 0.816 GB, free: 165.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003103/1.435, allocations: 157.9 kB / 0.8162 GB, free: 165.6 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.002799/1.437, allocations: 2.579 MB / 0.8187 GB, free: 163.1 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/1.437, allocations: 0 / 0.8187 GB, free: 163.1 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.004776/1.442, allocations: 1.918 MB / 0.8206 GB, free: 161.2 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.000543/1.443, allocations: 294 kB / 0.8209 GB, free: 160.9 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01032/1.453, allocations: 8.373 MB / 0.829 GB, free: 152.5 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/1.453, allocations: 8.25 kB / 0.829 GB, free: 152.5 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.005112/1.458, allocations: 3.881 MB / 0.8328 GB, free: 148.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003896/1.462, allocations: 1.01 MB / 0.8338 GB, free: 147.6 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02248/1.485, allocations: 19.48 MB / 0.8528 GB, free: 128 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005001/1.49, allocations: 6.589 MB / 0.8593 GB, free: 121.4 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.004787/1.494, allocations: 2.288 MB / 0.8615 GB, free: 119.1 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/1.495, allocations: 439.3 kB / 0.8619 GB, free: 118.6 MB / 0.5763 GB Notification: Performance of SimCode: time 9.42e-07/1.495, allocations: 1.312 kB / 0.8619 GB, free: 118.6 MB / 0.5763 GB Notification: Performance of Templates: time 0.1103/1.606, allocations: 86.09 MB / 0.946 GB, free: 33.42 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.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.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 8.083146361997933]