Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001237/0.001237, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 160.9 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9217/0.9217, allocations: 177 MB / 205.2 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359e-05/1.494e-05, allocations: 5.125 kB / 273 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1305/0.1305, allocations: 26.34 MB / 299.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01594/0.1465, allocations: 8.052 MB / 307.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006308/0.1528, allocations: 237.4 kB / 307.7 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01629/0.1691, allocations: 9.99 MB / 317.7 MB, free: 4.562 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009952/0.179, allocations: 3.463 MB / 321.1 MB, free: 1.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003865/0.1829, allocations: 1.839 MB / 323 MB, free: 416 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01185/0.1947, allocations: 12.76 MB / 335.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01949/0.2142, allocations: 15.89 MB / 351.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01265/0.2269, allocations: 9.805 MB / 361.4 MB, free: 10.3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009613/0.2365, allocations: 6.94 MB / 368.4 MB, free: 3.348 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003892/0.2404, allocations: 1.832 MB / 370.2 MB, free: 1.516 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00534/0.2457, allocations: 2.233 MB / 372.4 MB, free: 15.28 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004187/0.2499, allocations: 3.737 MB / 376.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0076/0.2575, allocations: 4.686 MB / 380.8 MB, free: 6.84 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01814/0.2757, allocations: 11.79 MB / 392.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2757, allocations: 0 / 392.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2757, allocations: 0 / 392.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004353/0.2761, allocations: 0 / 392.6 MB, free: 11.02 MB / 346.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.02876/0.3049, allocations: 15.55 MB / 408.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.3049, allocations: 15.97 kB / 408.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02768/0.3326, allocations: 10.37 MB / 418.6 MB, free: 0.957 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/0.3427, allocations: 7.402 MB / 426 MB, free: 9.457 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005213/0.3433, allocations: 0.8028 MB / 426.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002156/0.3454, allocations: 1.062 MB / 427.8 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2252/0.5706, allocations: 9.72 MB / 437.6 MB, free: 110.4 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002907/0.5709, allocations: 14.45 kB / 437.6 MB, free: 110.4 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001076/0.572, allocations: 450.9 kB / 438 MB, free: 110.4 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008939/0.5729, allocations: 0.6674 MB / 438.7 MB, free: 110.4 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01686/0.5897, allocations: 5.633 MB / 444.3 MB, free: 110.3 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05581/0.6456, allocations: 46.19 MB / 490.5 MB, free: 77.72 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01132/0.6569, allocations: 11.12 MB / 0.4899 GB, free: 68.6 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002648/0.6595, allocations: 1.721 MB / 0.4915 GB, free: 66.86 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002688/0.6598, allocations: 167.2 kB / 0.4917 GB, free: 66.7 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.6598, allocations: 89.45 kB / 0.4918 GB, free: 66.59 MB / 378.8 MB Notification: Performance of pre-optimization done (n=518): time 7.304e-06/0.6598, allocations: 0 / 0.4918 GB, free: 66.59 MB / 378.8 MB Notification: Performance of matching and sorting (n=524): time 0.02236/0.6822, allocations: 12.62 MB / 0.5041 GB, free: 54.21 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.6822, allocations: 111.5 kB / 0.5042 GB, free: 54.09 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003664/0.6859, allocations: 3.712 MB / 0.5078 GB, free: 50.49 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002065/0.6861, allocations: 113.7 kB / 0.5079 GB, free: 50.37 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001676/0.6878, allocations: 4.942 MB / 0.5128 GB, free: 45.6 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008709/0.6887, allocations: 1.903 MB / 0.5146 GB, free: 43.72 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001298/0.69, allocations: 1.504 MB / 0.5161 GB, free: 42.2 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.248e-05/0.69, allocations: 480.7 kB / 0.5166 GB, free: 41.73 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/0.6918, allocations: 1.091 MB / 0.5176 GB, free: 40.64 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002603/0.6944, allocations: 4.751 MB / 0.5223 GB, free: 34.38 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005074/0.6994, allocations: 6.482 MB / 0.5286 GB, free: 26.33 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.442e-05/0.6995, allocations: 24 kB / 0.5286 GB, free: 26.31 MB / 378.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.008439/0.7079, allocations: 6.332 MB / 0.5348 GB, free: 19.88 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.515e-05/0.708, allocations: 40.62 kB / 0.5348 GB, free: 19.84 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.719e-05/0.7081, allocations: 79.94 kB / 0.5349 GB, free: 19.77 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002469/0.7106, allocations: 1.295 MB / 0.5362 GB, free: 18.47 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002862/0.7134, allocations: 1.615 MB / 0.5378 GB, free: 16.85 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006958/0.7204, allocations: 6.774 MB / 0.5444 GB, free: 9.957 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002898/0.7233, allocations: 395.5 kB / 0.5447 GB, free: 9.57 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004978/0.7238, allocations: 339.9 kB / 0.5451 GB, free: 9.238 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.002111/0.7259, allocations: 0.6113 MB / 0.5457 GB, free: 8.613 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008417/0.7267, allocations: 0.6298 MB / 0.5463 GB, free: 7.98 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006167/0.7329, allocations: 4.631 MB / 0.5508 GB, free: 3.246 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004463/0.7374, allocations: 3.371 MB / 0.5541 GB, free: 15.79 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.7374, allocations: 12 kB / 0.5541 GB, free: 15.77 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.019e-05/0.7374, allocations: 23.91 kB / 0.5541 GB, free: 15.75 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02114/0.7585, allocations: 13.17 MB / 0.567 GB, free: 2.527 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/0.7586, allocations: 3.938 kB / 0.567 GB, free: 2.523 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002915/0.7615, allocations: 0.9403 MB / 0.5679 GB, free: 1.582 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003168/0.7646, allocations: 1.168 MB / 0.5691 GB, free: 420 kB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003359/0.765, allocations: 120 kB / 0.5692 GB, free: 300 kB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1337/0.8987, allocations: 6.171 MB / 0.5752 GB, free: 104.7 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.8987, allocations: 6.875 kB / 0.5752 GB, free: 104.7 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/0.9091, allocations: 5.672 MB / 0.5807 GB, free: 104 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002396/0.9115, allocations: 0.9957 MB / 0.5817 GB, free: 104 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006741/0.9122, allocations: 93.42 kB / 0.5818 GB, free: 104 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/0.9135, allocations: 264.3 kB / 0.5821 GB, free: 104 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005952/0.9141, allocations: 372 kB / 0.5824 GB, free: 104 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000236/0.9143, allocations: 157.9 kB / 0.5826 GB, free: 103.9 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.002103/0.9164, allocations: 1.689 MB / 0.5842 GB, free: 103.8 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.81e-07/0.9164, allocations: 0 / 0.5842 GB, free: 103.8 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.004486/0.9209, allocations: 1.914 MB / 0.5861 GB, free: 103.8 MB / 394.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.000535/0.9215, allocations: 310.9 kB / 0.5864 GB, free: 103.6 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.006637/0.9281, allocations: 4.937 MB / 0.5912 GB, free: 102.9 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.9281, allocations: 1.312 kB / 0.5912 GB, free: 102.9 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003095/0.9312, allocations: 2.566 MB / 0.5937 GB, free: 102.4 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003052/0.9342, allocations: 1.045 MB / 0.5947 GB, free: 102.4 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01989/0.9541, allocations: 16.02 MB / 0.6104 GB, free: 92.89 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002599/0.9567, allocations: 2.982 MB / 0.6133 GB, free: 91.25 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.003476/0.9602, allocations: 1.948 MB / 0.6152 GB, free: 90.08 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008924/0.9611, allocations: 434.8 kB / 0.6156 GB, free: 89.69 MB / 394.8 MB Notification: Performance of SimCode: time 2.063e-06/0.9611, allocations: 0 / 0.6156 GB, free: 89.69 MB / 394.8 MB Notification: Performance of Templates: time 0.08831/1.049, allocations: 71.7 MB / 0.6856 GB, free: 21.41 MB / 394.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.102188118034974]