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.001333/0.001333, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001458/0.001458, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.519/1.519, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001621/0.001621, allocations: 55.89 kB / 373.5 MB, free: 9.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1046, allocations: 53.32 MB / 426.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.2318/0.3364, allocations: 27.12 MB / 454 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02353/0.3599, allocations: 8.179 MB / 462.1 MB, free: 4.465 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006346/0.3663, allocations: 236.7 kB / 462.4 MB, free: 4.391 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0243/0.3906, allocations: 9.476 MB / 471.8 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01203/0.4026, allocations: 3.369 MB / 475.2 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006155/0.4088, allocations: 1.841 MB / 477.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01903/0.4278, allocations: 12.24 MB / 489.3 MB, free: 2.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03347/0.4613, allocations: 18.66 MB / 0.496 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01272/0.474, allocations: 6.589 MB / 0.5025 GB, free: 8.695 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01511/0.4891, allocations: 7.281 MB / 0.5096 GB, free: 1.391 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005164/0.4943, allocations: 1.836 MB / 0.5114 GB, free: 15.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007781/0.502, allocations: 2.23 MB / 0.5136 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006187/0.5082, allocations: 3.628 MB / 0.5171 GB, free: 9.688 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0137/0.5219, allocations: 6.923 MB / 0.5239 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03368/0.5556, allocations: 24.82 MB / 0.5481 GB, free: 9.84 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.5556, allocations: 0 / 0.5481 GB, free: 9.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5556, allocations: 0 / 0.5481 GB, free: 9.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005511/0.5562, allocations: 0 / 0.5481 GB, free: 9.84 MB / 462.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.04703/0.6032, allocations: 14.76 MB / 0.5625 GB, free: 10.96 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.6032, allocations: 15.97 kB / 0.5625 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0523/0.6555, allocations: 8.432 MB / 0.5708 GB, free: 2.5 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01871/0.6742, allocations: 7.693 MB / 0.5783 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008923/0.6751, allocations: 0.8029 MB / 0.5791 GB, free: 9.918 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004409/0.6795, allocations: 1.062 MB / 0.5801 GB, free: 8.855 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04789/0.7274, allocations: 18.33 MB / 0.598 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003522/0.7278, allocations: 23.88 kB / 0.598 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003362/0.7312, allocations: 447.9 kB / 0.5984 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008013/0.732, allocations: 0.6672 MB / 0.5991 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04038/0.7723, allocations: 17.59 MB / 0.6163 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4476/1.22, allocations: 59.37 MB / 0.6743 GB, free: 110 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02394/1.244, allocations: 36.98 MB / 0.7104 GB, free: 74.43 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005321/1.249, allocations: 3.754 MB / 0.714 GB, free: 72.46 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000472/1.25, allocations: 305.5 kB / 0.7143 GB, free: 72.22 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/1.25, allocations: 89.69 kB / 0.7144 GB, free: 72.14 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 6.563e-06/1.25, allocations: 0 / 0.7144 GB, free: 72.14 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.04445/1.294, allocations: 21.6 MB / 0.7355 GB, free: 53.5 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/1.294, allocations: 107.5 kB / 0.7356 GB, free: 53.38 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004958/1.299, allocations: 4.187 MB / 0.7397 GB, free: 49.22 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0006785/1.3, allocations: 113.7 kB / 0.7398 GB, free: 49.1 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001796/1.302, allocations: 4.67 MB / 0.7444 GB, free: 45.02 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001434/1.303, allocations: 1.86 MB / 0.7462 GB, free: 43.18 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001769/1.305, allocations: 1.371 MB / 0.7475 GB, free: 41.8 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.586e-05/1.305, allocations: 309.1 kB / 0.7478 GB, free: 41.5 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004289/1.309, allocations: 3.441 MB / 0.7512 GB, free: 38.05 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005147/1.314, allocations: 5.892 MB / 0.7569 GB, free: 31.07 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/1.325, allocations: 10.05 MB / 0.7667 GB, free: 19.85 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.673e-05/1.325, allocations: 24 kB / 0.7668 GB, free: 19.83 MB / 0.5138 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01706/1.342, allocations: 10.95 MB / 0.7774 GB, free: 8.789 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.5e-05/1.342, allocations: 36.38 kB / 0.7775 GB, free: 8.754 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001197/1.342, allocations: 87.98 kB / 0.7776 GB, free: 8.668 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0038/1.346, allocations: 1.445 MB / 0.779 GB, free: 7.223 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00569/1.352, allocations: 1.626 MB / 0.7806 GB, free: 5.594 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01729/1.369, allocations: 11.49 MB / 0.7918 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005119/1.374, allocations: 411.5 kB / 0.7922 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001035/1.375, allocations: 339.9 kB / 0.7925 GB, free: 9.234 MB / 0.5294 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.007382/1.383, allocations: 4.161 MB / 0.7966 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001259/1.384, allocations: 496.8 kB / 0.797 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01702/1.401, allocations: 8.447 MB / 0.8053 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01367/1.414, allocations: 7.064 MB / 0.8122 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-05/1.414, allocations: 12 kB / 0.8122 GB, free: 4.844 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.368e-05/1.415, allocations: 27.89 kB / 0.8122 GB, free: 4.816 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03824/1.453, allocations: 18.78 MB / 0.8306 GB, free: 1.965 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/1.453, allocations: 0 / 0.8306 GB, free: 1.965 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004327/1.457, allocations: 0.94 MB / 0.8315 GB, free: 1.023 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.215/1.672, allocations: 1.305 MB / 0.8328 GB, free: 181.8 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009473/1.673, allocations: 115.7 kB / 0.8329 GB, free: 181.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01558/1.689, allocations: 10.18 MB / 0.8428 GB, free: 179 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/1.689, allocations: 4.75 kB / 0.8428 GB, free: 179 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02057/1.709, allocations: 12.28 MB / 0.8548 GB, free: 174 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002892/1.712, allocations: 1.186 MB / 0.856 GB, free: 173.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009842/1.713, allocations: 94.06 kB / 0.8561 GB, free: 173.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002972/1.716, allocations: 265.3 kB / 0.8563 GB, free: 173.4 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009456/1.717, allocations: 356.3 kB / 0.8566 GB, free: 173.4 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003631/1.717, allocations: 153.9 kB / 0.8568 GB, free: 173.3 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004446/1.722, allocations: 2.819 MB / 0.8595 GB, free: 172.3 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.7e-07/1.722, allocations: 1.406 kB / 0.8596 GB, free: 172.3 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007165/1.729, allocations: 1.937 MB / 0.8614 GB, free: 172.1 MB / 0.5607 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.0008853/1.73, allocations: 306.6 kB / 0.8617 GB, free: 171.9 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01251/1.742, allocations: 8.407 MB / 0.8699 GB, free: 168.8 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.742, allocations: 0 / 0.8699 GB, free: 168.8 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006545/1.749, allocations: 3.901 MB / 0.8738 GB, free: 167.2 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005446/1.754, allocations: 1.136 MB / 0.8749 GB, free: 166.8 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02752/1.782, allocations: 19.37 MB / 0.8938 GB, free: 152.8 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00589/1.788, allocations: 7.014 MB / 0.9006 GB, free: 147.3 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005061/1.793, allocations: 2.319 MB / 0.9029 GB, free: 145.8 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/1.794, allocations: 447.5 kB / 0.9033 GB, free: 145.4 MB / 0.5607 GB Notification: Performance of SimCode: time 8.22e-07/1.794, allocations: 0 / 0.9033 GB, free: 145.4 MB / 0.5607 GB Notification: Performance of Templates: time 0.1276/1.922, allocations: 81.04 MB / 0.9825 GB, free: 65.21 MB / 0.5607 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 -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/jenkins/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/jenkins/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.626474376767874]