Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.002347/0.002347, allocations: 103.5 kB / 21.74 MB, free: 2.688 MB / 18.57 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.002776/0.002776, allocations: 166.5 kB / 25.03 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 250.4 MB, free: 7.668 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.802e-05/3.982e-05, allocations: 6.25 kB / 250.4 MB, free: 7.66 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.04107/0.04111, allocations: 26.32 MB / 276.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02379/0.0649, allocations: 7.934 MB / 284.7 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007701/0.0726, allocations: 202.9 kB / 284.9 MB, free: 5.055 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02794/0.1005, allocations: 9.972 MB / 294.8 MB, free: 11.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0165/0.117, allocations: 3.508 MB / 298.3 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008012/0.125, allocations: 1.854 MB / 300.2 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02469/0.1497, allocations: 12.81 MB / 313 MB, free: 8.805 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03834/0.1881, allocations: 15.94 MB / 328.9 MB, free: 8.668 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02963/0.2177, allocations: 9.903 MB / 338.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01802/0.2357, allocations: 7.041 MB / 345.9 MB, free: 7.691 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.008919/0.2446, allocations: 1.844 MB / 347.7 MB, free: 5.848 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01177/0.2564, allocations: 2.222 MB / 350 MB, free: 3.625 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1932/0.4497, allocations: 3.795 MB / 353.8 MB, free: 45.04 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0149/0.4646, allocations: 4.746 MB / 358.5 MB, free: 45.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0356/0.5002, allocations: 25.27 MB / 383.8 MB, free: 39.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.5002, allocations: 0 / 383.8 MB, free: 39.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.5002, allocations: 3.5 kB / 383.8 MB, free: 39.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000986/0.5012, allocations: 0 / 383.8 MB, free: 39.27 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.0562/0.5574, allocations: 16.96 MB / 400.7 MB, free: 28.81 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.5574, allocations: 14.77 kB / 400.7 MB, free: 28.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05745/0.6149, allocations: 11.6 MB / 412.3 MB, free: 21.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01881/0.6337, allocations: 6.521 MB / 418.9 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007728/0.6344, allocations: 0.8198 MB / 419.7 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006321/0.6408, allocations: 1.074 MB / 420.8 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06323/0.704, allocations: 19.09 MB / 439.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007182/0.7047, allocations: 19.56 kB / 439.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005441/0.7101, allocations: 459.5 kB / 440.3 MB, free: 9.766 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001065/0.7112, allocations: 0.6949 MB / 441 MB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04756/0.7588, allocations: 16.05 MB / 457.1 MB, free: 9.016 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3496/1.108, allocations: 109.6 MB / 0.5534 GB, free: 76.46 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02524/1.134, allocations: 13.83 MB / 0.5669 GB, free: 67.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005769/1.139, allocations: 3.274 MB / 0.5701 GB, free: 63.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02325/1.163, allocations: 11.43 MB / 0.5813 GB, free: 52.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.773e-05/1.163, allocations: 76.34 kB / 0.5813 GB, free: 52.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=385): time 7.565e-06/1.163, allocations: 0 / 0.5813 GB, free: 52.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=391): time 0.03905/1.202, allocations: 16.68 MB / 0.5976 GB, free: 35.56 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/1.202, allocations: 94.47 kB / 0.5977 GB, free: 35.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007495/1.209, allocations: 5.989 MB / 0.6036 GB, free: 29.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008707/1.21, allocations: 85.7 kB / 0.6036 GB, free: 29.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002743/1.213, allocations: 5.559 MB / 0.6091 GB, free: 23.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001915/1.215, allocations: 1.543 MB / 0.6106 GB, free: 22.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002449/1.217, allocations: 1.665 MB / 0.6122 GB, free: 20.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.9e-05/1.217, allocations: 480.7 kB / 0.6127 GB, free: 20.14 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003892/1.221, allocations: 2.476 MB / 0.6151 GB, free: 17.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005677/1.227, allocations: 6.664 MB / 0.6216 GB, free: 9.312 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01257/1.239, allocations: 10.2 MB / 0.6315 GB, free: 13.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001716/1.24, allocations: 28 kB / 0.6316 GB, free: 13.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.02381/1.263, allocations: 9.303 MB / 0.6407 GB, free: 4.066 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001249/1.264, allocations: 44.36 kB / 0.6407 GB, free: 4.023 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002363/1.264, allocations: 92 kB / 0.6408 GB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005818/1.27, allocations: 1.626 MB / 0.6424 GB, free: 2.305 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006871/1.277, allocations: 1.455 MB / 0.6438 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2326/1.509, allocations: 11.56 MB / 0.6551 GB, free: 118.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0061/1.515, allocations: 394.1 kB / 0.6555 GB, free: 118.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001734/1.517, allocations: 330.3 kB / 0.6558 GB, free: 118.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (752): * Single equations (assignments): 750 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009217/1.526, allocations: 3.799 MB / 0.6595 GB, free: 118.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001548/1.528, allocations: 0.5578 MB / 0.66 GB, free: 118.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/1.54, allocations: 6.189 MB / 0.6661 GB, free: 118.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009127/1.549, allocations: 4.983 MB / 0.6709 GB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.846e-05/1.549, allocations: 7.844 kB / 0.6709 GB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.374e-05/1.549, allocations: 24.31 kB / 0.671 GB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03966/1.589, allocations: 17.16 MB / 0.6877 GB, free: 112 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/1.589, allocations: 3.812 kB / 0.6877 GB, free: 112 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003603/1.593, allocations: 0.7195 MB / 0.6884 GB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004339/1.597, allocations: 1.452 MB / 0.6898 GB, free: 111.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009326/1.598, allocations: 90.14 kB / 0.6899 GB, free: 111.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01331/1.611, allocations: 10.34 MB / 0.7 GB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.611, allocations: 0 / 0.7 GB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01499/1.626, allocations: 8.774 MB / 0.7086 GB, free: 93.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003224/1.629, allocations: 0.8813 MB / 0.7095 GB, free: 93.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/1.63, allocations: 68 kB / 0.7095 GB, free: 93.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002721/1.633, allocations: 247.8 kB / 0.7098 GB, free: 92.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007597/1.634, allocations: 283.4 kB / 0.71 GB, free: 92.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002712/1.634, allocations: 116 kB / 0.7101 GB, free: 92.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004224/1.638, allocations: 3.02 MB / 0.7131 GB, free: 89.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/1.638, allocations: 0 / 0.7131 GB, free: 89.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007218/1.646, allocations: 1.82 MB / 0.7149 GB, free: 87.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (360): * Single equations (assignments): 358 * 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.0008068/1.646, allocations: 265.7 kB / 0.7151 GB, free: 87.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0119/1.658, allocations: 7.238 MB / 0.7222 GB, free: 80.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.658, allocations: 0 / 0.7222 GB, free: 80.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007405/1.666, allocations: 3.272 MB / 0.7254 GB, free: 76.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005959/1.672, allocations: 0.9986 MB / 0.7264 GB, free: 75.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03592/1.708, allocations: 17.79 MB / 0.7437 GB, free: 58.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01283/1.72, allocations: 6.011 MB / 0.7496 GB, free: 51.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005841/1.726, allocations: 1.89 MB / 0.7514 GB, free: 50.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/1.728, allocations: 352.4 kB / 0.7518 GB, free: 49.71 MB / 410.7 MB Notification: Performance of SimCode: time 2.134e-06/1.728, allocations: 0 / 0.7518 GB, free: 49.71 MB / 410.7 MB Notification: Performance of Templates: time 0.2873/2.015, allocations: 63.52 MB / 0.8138 GB, free: 108.4 MB / 410.7 MB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.586395349004306]