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.IMC_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.001473/0.001473, allocations: 92.33 kB / 21.73 MB, free: 2.676 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.001503/0.001503, allocations: 164.3 kB / 25.03 MB, free: 8.93 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.508/1.508, allocations: 158.6 MB / 186.8 MB, free: 2.902 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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.896e-06/2.896e-06, allocations: 0 / 250.4 MB, free: 7.793 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.772e-05/5.062e-05, allocations: 6.109 kB / 250.4 MB, free: 7.789 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.03293/0.03298, allocations: 21.45 MB / 271.9 MB, free: 2.234 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02191/0.05488, allocations: 7.128 MB / 279 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00741/0.06229, allocations: 191 kB / 279.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02471/0.08701, allocations: 8.671 MB / 287.8 MB, free: 2.184 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01283/0.09984, allocations: 3.061 MB / 290.9 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00635/0.1062, allocations: 1.745 MB / 292.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01993/0.1261, allocations: 11.32 MB / 304 MB, free: 2 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0302/0.1563, allocations: 14.26 MB / 318.2 MB, free: 3.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02061/0.1769, allocations: 8.71 MB / 326.9 MB, free: 10.87 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01243/0.1894, allocations: 5.555 MB / 332.5 MB, free: 5.301 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005149/0.1945, allocations: 1.68 MB / 334.2 MB, free: 3.621 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007392/0.2019, allocations: 2.054 MB / 336.2 MB, free: 1.566 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006129/0.208, allocations: 3.285 MB / 339.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01404/0.2221, allocations: 4.137 MB / 343.6 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2142/0.4363, allocations: 22.74 MB / 366.4 MB, free: 51.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.4363, allocations: 3.188 kB / 366.4 MB, free: 51.4 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4363, allocations: 0 / 366.4 MB, free: 51.4 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0008437/0.4371, allocations: 2.734 kB / 366.4 MB, free: 51.4 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: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.04729/0.4844, allocations: 12.94 MB / 379.3 MB, free: 45.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.4845, allocations: 12.73 kB / 379.3 MB, free: 45.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04322/0.5277, allocations: 8.928 MB / 388.3 MB, free: 42.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0167/0.5444, allocations: 6.429 MB / 394.7 MB, free: 39.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007837/0.5452, allocations: 0.7168 MB / 395.4 MB, free: 38.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005682/0.5509, allocations: 0.9391 MB / 396.4 MB, free: 37.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04901/0.5999, allocations: 16.34 MB / 412.7 MB, free: 20.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005277/0.6004, allocations: 16.33 kB / 412.7 MB, free: 20.97 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00697/0.6074, allocations: 397.4 kB / 413.1 MB, free: 20.6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006152/0.608, allocations: 0.5825 MB / 413.7 MB, free: 20.01 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03762/0.6456, allocations: 15.39 MB / 429.1 MB, free: 4.605 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.112/0.7576, allocations: 46.18 MB / 475.3 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02513/0.7828, allocations: 10.98 MB / 486.2 MB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007334/0.7901, allocations: 3.077 MB / 489.3 MB, free: 9.938 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02474/0.8148, allocations: 9.055 MB / 498.4 MB, free: 1.016 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.662e-05/0.8149, allocations: 64.89 kB / 498.4 MB, free: 0.9414 MB / 394.7 MB Notification: Performance of pre-optimization done (n=297): time 5.68e-06/0.8149, allocations: 0 / 498.4 MB, free: 0.9414 MB / 394.7 MB Notification: Performance of matching and sorting (n=303): time 0.2226/1.038, allocations: 15.19 MB / 0.5016 GB, free: 133.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/1.038, allocations: 88.34 kB / 0.5017 GB, free: 133.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005494/1.043, allocations: 3.771 MB / 0.5053 GB, free: 132.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000523/1.044, allocations: 69.55 kB / 0.5054 GB, free: 132.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002101/1.046, allocations: 4.414 MB / 0.5097 GB, free: 128.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000983/1.047, allocations: 1.097 MB / 0.5108 GB, free: 127.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001536/1.048, allocations: 1.088 MB / 0.5119 GB, free: 127.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.969e-05/1.048, allocations: 305.1 kB / 0.5121 GB, free: 127 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003426/1.052, allocations: 2.543 MB / 0.5146 GB, free: 126.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004688/1.056, allocations: 4.932 MB / 0.5194 GB, free: 122 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008348/1.065, allocations: 7.938 MB / 0.5272 GB, free: 113.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-05/1.065, allocations: 20.62 kB / 0.5272 GB, free: 113.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01394/1.079, allocations: 8.851 MB / 0.5359 GB, free: 106.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.536e-05/1.079, allocations: 43.36 kB / 0.5359 GB, free: 106.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001441/1.079, allocations: 83.94 kB / 0.536 GB, free: 106 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00389/1.083, allocations: 1.399 MB / 0.5374 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004554/1.087, allocations: 1.229 MB / 0.5386 GB, free: 103.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/1.1, allocations: 9.542 MB / 0.5479 GB, free: 94.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005044/1.105, allocations: 331.6 kB / 0.5482 GB, free: 94.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00122/1.107, allocations: 288 kB / 0.5485 GB, free: 93.89 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (638): * Single equations (assignments): 636 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007802/1.114, allocations: 3.732 MB / 0.5521 GB, free: 90.15 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001808/1.116, allocations: 481.5 kB / 0.5526 GB, free: 89.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01067/1.127, allocations: 5.726 MB / 0.5582 GB, free: 83.92 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007153/1.134, allocations: 4.704 MB / 0.5627 GB, free: 79.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.792e-05/1.134, allocations: 8 kB / 0.5628 GB, free: 79.17 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.942e-05/1.134, allocations: 19.94 kB / 0.5628 GB, free: 79.15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02633/1.16, allocations: 11.46 MB / 0.574 GB, free: 67.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/1.16, allocations: 4 kB / 0.574 GB, free: 67.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002679/1.163, allocations: 0.566 MB / 0.5745 GB, free: 67.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003909/1.167, allocations: 1.257 MB / 0.5757 GB, free: 65.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006498/1.168, allocations: 72.86 kB / 0.5758 GB, free: 65.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01173/1.179, allocations: 8.473 MB / 0.5841 GB, free: 57.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/1.179, allocations: 7.875 kB / 0.5841 GB, free: 57.19 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01413/1.194, allocations: 8.532 MB / 0.5924 GB, free: 48.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002689/1.196, allocations: 0.8058 MB / 0.5932 GB, free: 47.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001137/1.197, allocations: 60 kB / 0.5933 GB, free: 47.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002594/1.2, allocations: 175.8 kB / 0.5934 GB, free: 47.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007499/1.201, allocations: 238.5 kB / 0.5937 GB, free: 47.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003219/1.201, allocations: 95.98 kB / 0.5938 GB, free: 47.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004921/1.206, allocations: 2.42 MB / 0.5961 GB, free: 44.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/1.206, allocations: 0 / 0.5961 GB, free: 44.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.008594/1.215, allocations: 1.539 MB / 0.5976 GB, free: 43.21 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (282): * Single equations (assignments): 280 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001056/1.216, allocations: 241 kB / 0.5979 GB, free: 42.97 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01121/1.227, allocations: 6.238 MB / 0.6039 GB, free: 36.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/1.227, allocations: 0.875 kB / 0.6039 GB, free: 36.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005219/1.232, allocations: 2.754 MB / 0.6066 GB, free: 33.95 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005981/1.238, allocations: 0.8785 MB / 0.6075 GB, free: 33.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03571/1.274, allocations: 16.61 MB / 0.6237 GB, free: 16.36 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01264/1.286, allocations: 5.78 MB / 0.6294 GB, free: 10.53 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.006819/1.293, allocations: 1.85 MB / 0.6312 GB, free: 8.676 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001742/1.295, allocations: 300.4 kB / 0.6315 GB, free: 8.383 MB / 394.7 MB Notification: Performance of SimCode: time 2.515e-06/1.295, allocations: 3.938 kB / 0.6315 GB, free: 8.379 MB / 394.7 MB Notification: Performance of Templates: time 0.2722/1.567, allocations: 54.31 MB / 0.6845 GB, free: 93.72 MB / 394.7 MB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.102675906964578]