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.IMC_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.0009399/0.0009399, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 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.0008614/0.0008614, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 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 0.9292/0.9292, allocations: 173.4 MB / 201.1 MB, free: 8.938 MB / 186.7 MB " [Timeout remaining time 179] 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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 268 MB, free: 6.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.497e-05, allocations: 6.312 kB / 268 MB, free: 6.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1526/0.1527, allocations: 24.32 MB / 292.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01375/0.1664, allocations: 7.29 MB / 299.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005063/0.1715, allocations: 221.2 kB / 299.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0122/0.1837, allocations: 9.421 MB / 309.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009343/0.193, allocations: 3.049 MB / 312.3 MB, free: 9.938 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004084/0.1971, allocations: 1.73 MB / 314.1 MB, free: 8.773 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01002/0.2071, allocations: 11.19 MB / 325.3 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01934/0.2265, allocations: 14.23 MB / 339.5 MB, free: 3.016 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01342/0.2399, allocations: 8.698 MB / 348.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009203/0.2491, allocations: 6.188 MB / 354.4 MB, free: 4.105 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004114/0.2532, allocations: 1.668 MB / 356 MB, free: 2.438 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006665/0.2599, allocations: 2.038 MB / 358.1 MB, free: 404 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004746/0.2646, allocations: 3.269 MB / 361.3 MB, free: 13.11 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009304/0.2739, allocations: 4.125 MB / 365.5 MB, free: 8.98 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0155/0.2894, allocations: 10.39 MB / 375.9 MB, free: 14.56 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2894, allocations: 0 / 375.9 MB, free: 14.56 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2894, allocations: 0 / 375.9 MB, free: 14.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005189/0.2899, allocations: 0 / 375.9 MB, free: 14.56 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.02624/0.3162, allocations: 13.65 MB / 389.5 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.3162, allocations: 8.922 kB / 389.5 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02099/0.3372, allocations: 7.826 MB / 397.3 MB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01115/0.3484, allocations: 6.679 MB / 404 MB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005214/0.3489, allocations: 0.6985 MB / 404.7 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002601/0.3515, allocations: 0.9179 MB / 405.6 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01836/0.3699, allocations: 8.252 MB / 413.9 MB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000178/0.37, allocations: 11.89 kB / 413.9 MB, free: 8.227 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009988/0.371, allocations: 388 kB / 414.3 MB, free: 7.848 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003885/0.3714, allocations: 0.5508 MB / 414.8 MB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01108/0.3825, allocations: 4.568 MB / 419.4 MB, free: 2.699 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2059/0.5884, allocations: 40.72 MB / 460.1 MB, free: 75.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01188/0.6003, allocations: 7.976 MB / 468.1 MB, free: 75.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002548/0.6028, allocations: 1.338 MB / 469.4 MB, free: 75.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/0.6031, allocations: 100.4 kB / 469.5 MB, free: 75.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.916e-05/0.6031, allocations: 81.72 kB / 469.6 MB, free: 75.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=398): time 7.845e-06/0.6031, allocations: 0 / 469.6 MB, free: 75.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=404): time 0.02341/0.6266, allocations: 10.26 MB / 479.9 MB, free: 73.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.6266, allocations: 94.17 kB / 480 MB, free: 73.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004565/0.6312, allocations: 3.294 MB / 483.3 MB, free: 72.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004035/0.6316, allocations: 87.48 kB / 483.3 MB, free: 72.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002145/0.6337, allocations: 4.368 MB / 487.7 MB, free: 70.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001162/0.6349, allocations: 1.471 MB / 489.2 MB, free: 69.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00147/0.6364, allocations: 1.265 MB / 490.4 MB, free: 68.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.283e-05/0.6364, allocations: 482.5 kB / 490.9 MB, free: 68.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001855/0.6383, allocations: 0.8707 MB / 491.8 MB, free: 68.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002885/0.6411, allocations: 4.114 MB / 495.9 MB, free: 63.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005221/0.6464, allocations: 5.494 MB / 0.4896 GB, free: 56.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.696e-05/0.6464, allocations: 20 kB / 0.4897 GB, free: 56.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.00744/0.6539, allocations: 5.309 MB / 0.4948 GB, free: 51.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.472e-05/0.6539, allocations: 32.62 kB / 0.4949 GB, free: 51.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.824e-05/0.654, allocations: 72 kB / 0.4949 GB, free: 51.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002199/0.6562, allocations: 1.118 MB / 0.496 GB, free: 50.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00261/0.6588, allocations: 1.314 MB / 0.4973 GB, free: 49.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006413/0.6652, allocations: 6.055 MB / 0.5032 GB, free: 43.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002635/0.6678, allocations: 331.6 kB / 0.5035 GB, free: 42.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003772/0.6682, allocations: 280 kB / 0.5038 GB, free: 42.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * 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,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001997/0.6702, allocations: 0.5391 MB / 0.5043 GB, free: 42.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000699/0.6709, allocations: 0.517 MB / 0.5048 GB, free: 41.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00502/0.6759, allocations: 3.663 MB / 0.5084 GB, free: 37.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003535/0.6795, allocations: 2.653 MB / 0.511 GB, free: 35.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.6795, allocations: 8 kB / 0.511 GB, free: 35.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.096e-05/0.6795, allocations: 19.92 kB / 0.511 GB, free: 35.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01541/0.6949, allocations: 11.31 MB / 0.5221 GB, free: 24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.6949, allocations: 4 kB / 0.5221 GB, free: 23.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001478/0.6964, allocations: 0.7161 MB / 0.5228 GB, free: 23.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002003/0.6984, allocations: 1.022 MB / 0.5238 GB, free: 22.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002043/0.6986, allocations: 91.97 kB / 0.5239 GB, free: 22.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005477/0.7041, allocations: 5.565 MB / 0.5293 GB, free: 16.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.7041, allocations: 16 kB / 0.5293 GB, free: 16.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00671/0.7108, allocations: 4.666 MB / 0.5339 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001672/0.7125, allocations: 0.8212 MB / 0.5347 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003298/0.7128, allocations: 80 kB / 0.5348 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009622/0.7138, allocations: 195.8 kB / 0.5349 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004435/0.7142, allocations: 298.8 kB / 0.5352 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/0.7143, allocations: 120 kB / 0.5353 GB, free: 10.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001709/0.7161, allocations: 1.51 MB / 0.5368 GB, free: 8.758 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.7161, allocations: 0 / 0.5368 GB, free: 8.758 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003717/0.7198, allocations: 1.605 MB / 0.5384 GB, free: 7.152 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.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 (389): * Single equations (assignments): 387 * 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,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004957/0.7203, allocations: 280.3 kB / 0.5387 GB, free: 6.918 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005411/0.7257, allocations: 4.088 MB / 0.5426 GB, free: 3.023 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.7257, allocations: 4.25 kB / 0.5426 GB, free: 3.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002537/0.7282, allocations: 2.127 MB / 0.5447 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002683/0.7309, allocations: 0.8883 MB / 0.5456 GB, free: 100 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02145/0.7524, allocations: 13.86 MB / 0.5591 GB, free: 2.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003788/0.7561, allocations: 2.609 MB / 0.5617 GB, free: 15.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003548/0.7597, allocations: 1.61 MB / 0.5632 GB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009168/0.7606, allocations: 332.4 kB / 0.5636 GB, free: 13.49 MB / 410.7 MB Notification: Performance of SimCode: time 3.507e-06/0.7606, allocations: 0 / 0.5636 GB, free: 13.49 MB / 410.7 MB Notification: Performance of Templates: time 0.1972/0.9578, allocations: 62.75 MB / 0.6248 GB, free: 95.36 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_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: 4.578971925191581]