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.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.0006852/0.0006852, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001015/0.001701, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001052/0.001052, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001346/0.002398, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9567/0.9567, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09336/1.05, allocations: 53.66 MB / 243.4 MB, free: 15.53 MB / 250.7 MB " [Timeout remaining time 179] 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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.326e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.04893/0.04895, allocations: 23.52 MB / 268.2 MB, free: 6.605 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1558/0.2048, allocations: 7.754 MB / 276 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004501/0.2093, allocations: 224.8 kB / 276.2 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.012/0.2213, allocations: 9.326 MB / 285.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007984/0.2293, allocations: 3.017 MB / 288.5 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003736/0.233, allocations: 1.728 MB / 290.3 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0129/0.2459, allocations: 11.37 MB / 301.6 MB, free: 11.36 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01884/0.2647, allocations: 14.28 MB / 315.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01652/0.2813, allocations: 8.997 MB / 324.9 MB, free: 6.531 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0101/0.2914, allocations: 6.286 MB / 331.2 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00422/0.2956, allocations: 1.668 MB / 332.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007384/0.303, allocations: 2.068 MB / 334.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00441/0.3074, allocations: 2.618 MB / 337.6 MB, free: 10.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01156/0.3189, allocations: 3.46 MB / 341 MB, free: 6.809 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01654/0.3355, allocations: 9.823 MB / 350.8 MB, free: 13.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.298e-05/0.3355, allocations: 0 / 350.8 MB, free: 13.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3355, allocations: 0 / 350.8 MB, free: 13.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005158/0.336, allocations: 4 kB / 350.9 MB, free: 13.36 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.02277/0.3588, allocations: 13.86 MB / 364.7 MB, free: 36 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.3588, allocations: 8.031 kB / 364.7 MB, free: 28 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01782/0.3766, allocations: 6.31 MB / 371 MB, free: 9.918 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008398/0.385, allocations: 3.609 MB / 374.6 MB, free: 6.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005436/0.3856, allocations: 0.7047 MB / 375.3 MB, free: 5.824 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002669/0.3882, allocations: 0.9227 MB / 376.3 MB, free: 4.914 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01401/0.4022, allocations: 7.758 MB / 384 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001824/0.4024, allocations: 10.77 kB / 384 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007953/0.4032, allocations: 392.3 kB / 384.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003998/0.4036, allocations: 0.5391 MB / 385 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007723/0.4113, allocations: 3.979 MB / 388.9 MB, free: 8.543 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04256/0.4539, allocations: 30.88 MB / 419.8 MB, free: 9.852 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00693/0.4608, allocations: 5.361 MB / 425.2 MB, free: 4.492 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.4621, allocations: 1.008 MB / 426.2 MB, free: 3.477 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002327/0.4623, allocations: 127 kB / 426.3 MB, free: 3.352 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.194e-05/0.4624, allocations: 73.69 kB / 426.4 MB, free: 3.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=398): time 5.811e-06/0.4624, allocations: 0 / 426.4 MB, free: 3.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=404): time 0.1664/0.6287, allocations: 9.094 MB / 435.5 MB, free: 99.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.6288, allocations: 92.7 kB / 435.6 MB, free: 99.76 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003311/0.6321, allocations: 2.368 MB / 437.9 MB, free: 99.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000788/0.6329, allocations: 89.42 kB / 438 MB, free: 99.37 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001599/0.6345, allocations: 3.795 MB / 441.8 MB, free: 96.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009909/0.6355, allocations: 1.428 MB / 443.2 MB, free: 96.06 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/0.6365, allocations: 1.062 MB / 444.3 MB, free: 95.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.567e-05/0.6365, allocations: 301.1 kB / 444.6 MB, free: 95.67 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009683/0.6375, allocations: 0.7812 MB / 445.4 MB, free: 95.64 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.6389, allocations: 2.783 MB / 448.2 MB, free: 93.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003211/0.6421, allocations: 4.354 MB / 452.5 MB, free: 90.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-05/0.6422, allocations: 18.94 kB / 452.5 MB, free: 90.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.005089/0.6472, allocations: 3.946 MB / 456.5 MB, free: 90.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.421e-05/0.6473, allocations: 38.08 kB / 456.5 MB, free: 90.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.586e-05/0.6474, allocations: 72.78 kB / 456.6 MB, free: 90.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001873/0.6492, allocations: 1.035 MB / 457.6 MB, free: 90.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00254/0.6518, allocations: 1.393 MB / 459 MB, free: 90.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004857/0.6566, allocations: 4.492 MB / 463.5 MB, free: 88.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/0.659, allocations: 223.7 kB / 463.7 MB, free: 88.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002718/0.6593, allocations: 228.6 kB / 464 MB, free: 88.73 MB / 394.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.002023/0.6613, allocations: 0.4971 MB / 464.4 MB, free: 88.56 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005563/0.6618, allocations: 368.4 kB / 464.8 MB, free: 88.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003387/0.6652, allocations: 2.733 MB / 467.5 MB, free: 88.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002193/0.6674, allocations: 1.77 MB / 469.3 MB, free: 88.14 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.6674, allocations: 11.69 kB / 469.3 MB, free: 88.14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.002e-05/0.6674, allocations: 24.8 kB / 469.3 MB, free: 88.14 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/0.6783, allocations: 8.249 MB / 477.6 MB, free: 86.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.6783, allocations: 8 kB / 477.6 MB, free: 86.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/0.6799, allocations: 0.7348 MB / 478.3 MB, free: 86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/0.6811, allocations: 0.5103 MB / 478.8 MB, free: 85.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001618/0.6827, allocations: 0.9394 MB / 479.8 MB, free: 84.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/0.6828, allocations: 90.91 kB / 479.9 MB, free: 84.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003945/0.6868, allocations: 4.127 MB / 484 MB, free: 80.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.6868, allocations: 7.844 kB / 484 MB, free: 80.69 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003786/0.6906, allocations: 3.42 MB / 487.4 MB, free: 77.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005277/0.6911, allocations: 76 kB / 487.5 MB, free: 77.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009293/0.692, allocations: 109 kB / 487.6 MB, free: 77.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003696/0.6924, allocations: 295 kB / 487.9 MB, free: 76.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/0.6925, allocations: 87.97 kB / 488 MB, free: 76.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001111/0.6937, allocations: 1.078 MB / 489.1 MB, free: 75.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6937, allocations: 0 / 489.1 MB, free: 75.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00454/0.6982, allocations: 1.601 MB / 490.7 MB, free: 74.19 MB / 394.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.0005885/0.6988, allocations: 268.2 kB / 490.9 MB, free: 73.97 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0043/0.7031, allocations: 3.314 MB / 494.2 MB, free: 70.96 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001477/0.7032, allocations: 93.62 kB / 494.3 MB, free: 70.87 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002432/0.7057, allocations: 2.183 MB / 496.5 MB, free: 68.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003599/0.7093, allocations: 7.159 MB / 0.4919 GB, free: 60.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0677/0.777, allocations: 13.99 MB / 0.5055 GB, free: 46.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002428/0.7794, allocations: 1.86 MB / 0.5073 GB, free: 44.51 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002524/0.7819, allocations: 0.6809 MB / 0.508 GB, free: 43.83 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005167/0.7871, allocations: 0.8968 MB / 0.5089 GB, free: 42.93 MB / 394.7 MB Notification: Performance of SimCode: time 1.633e-06/0.7871, allocations: 0 / 0.5089 GB, free: 42.93 MB / 394.7 MB Notification: Performance of Templates: time 0.2252/1.012, allocations: 70.06 MB / 0.5773 GB, free: 110 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.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.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.398244238458574]