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.0008934/0.0008934, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001181/0.002074, allocations: 445.7 kB / 10.37 MB, free: 328 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.001137/0.001137, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009556/0.002093, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.109/1.109, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1968/1.306, allocations: 49.48 MB / 220.6 MB, free: 1.449 MB / 218.7 MB " [Timeout remaining time 179] 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.893e-06/1.893e-06, allocations: 0 / 221.9 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.795e-05, allocations: 2.312 kB / 221.9 MB, free: 152 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02309/0.02312, allocations: 25.62 MB / 247.5 MB, free: 6.406 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02151/0.04462, allocations: 8.367 MB / 255.8 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007883/0.0525, allocations: 202.9 kB / 256 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01521/0.06772, allocations: 9.955 MB / 266 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01392/0.08163, allocations: 3.473 MB / 269.5 MB, free: 324 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006855/0.08849, allocations: 1.847 MB / 271.3 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01748/0.106, allocations: 12.89 MB / 284.2 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1962/0.3021, allocations: 15.95 MB / 300.2 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02422/0.3264, allocations: 10.23 MB / 310.4 MB, free: 180 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01628/0.3426, allocations: 7.71 MB / 318.1 MB, free: 0 / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006246/0.3489, allocations: 1.841 MB / 319.9 MB, free: 0 / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008887/0.3578, allocations: 2.249 MB / 322.2 MB, free: 0 / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01204/0.3698, allocations: 3.722 MB / 325.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01816/0.388, allocations: 3.963 MB / 329.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02563/0.4136, allocations: 11.24 MB / 341.1 MB, free: 1.703 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.266e-05/0.4136, allocations: 0 / 341.1 MB, free: 1.703 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4136, allocations: 0 / 341.1 MB, free: 1.703 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.000791/0.4144, allocations: 3.938 kB / 341.1 MB, free: 1.699 MB / 298.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.03228/0.4467, allocations: 16.1 MB / 357.2 MB, free: 2.293 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.4468, allocations: 8.031 kB / 357.2 MB, free: 2.285 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02789/0.4746, allocations: 9.148 MB / 366.4 MB, free: 9.488 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009616/0.4843, allocations: 3.492 MB / 369.9 MB, free: 6.238 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006477/0.4849, allocations: 0.8108 MB / 370.7 MB, free: 5.441 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003717/0.4886, allocations: 1.085 MB / 371.8 MB, free: 4.371 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02897/0.5176, allocations: 9.27 MB / 381 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003626/0.518, allocations: 17.7 kB / 381 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00294/0.5209, allocations: 460.2 kB / 381.5 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000603/0.5215, allocations: 0.6949 MB / 382.2 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01626/0.5378, allocations: 4.959 MB / 387.1 MB, free: 5.398 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06264/0.6004, allocations: 35.27 MB / 422.4 MB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1694/0.7698, allocations: 8.169 MB / 430.6 MB, free: 79.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002929/0.7727, allocations: 1.34 MB / 431.9 MB, free: 79.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01066/0.7834, allocations: 5.483 MB / 437.4 MB, free: 78.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.95e-05/0.7835, allocations: 72.67 kB / 437.5 MB, free: 78.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=385): time 5.992e-06/0.7835, allocations: 0.7812 kB / 437.5 MB, free: 78.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=391): time 0.0183/0.8018, allocations: 8.868 MB / 446.3 MB, free: 77.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.8018, allocations: 98.59 kB / 446.4 MB, free: 77.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003027/0.8048, allocations: 2.795 MB / 449.2 MB, free: 77.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002437/0.8051, allocations: 89.7 kB / 449.3 MB, free: 77.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001608/0.8067, allocations: 4.606 MB / 453.9 MB, free: 74.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008368/0.8075, allocations: 1.396 MB / 455.3 MB, free: 73.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001234/0.8088, allocations: 1.169 MB / 456.5 MB, free: 73.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.235e-05/0.8088, allocations: 306.3 kB / 456.8 MB, free: 73.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/0.8104, allocations: 0.8754 MB / 457.7 MB, free: 73.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/0.8122, allocations: 3.321 MB / 461 MB, free: 69.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004344/0.8166, allocations: 4.821 MB / 465.8 MB, free: 66.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.136e-05/0.8167, allocations: 23.53 kB / 465.8 MB, free: 66.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.006454/0.8231, allocations: 4.489 MB / 470.3 MB, free: 66.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/0.8232, allocations: 38.62 kB / 470.4 MB, free: 66.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.161e-05/0.8233, allocations: 89.25 kB / 470.4 MB, free: 66.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002186/0.8254, allocations: 1.203 MB / 471.6 MB, free: 66.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002993/0.8284, allocations: 1.5 MB / 473.1 MB, free: 66.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005771/0.8342, allocations: 5.111 MB / 478.3 MB, free: 64.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003632/0.8378, allocations: 255.7 kB / 478.5 MB, free: 64.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009158/0.8388, allocations: 267 kB / 478.8 MB, free: 64.67 MB / 378.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.003182/0.8419, allocations: 0.5431 MB / 479.3 MB, free: 64.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/0.843, allocations: 379.2 kB / 479.7 MB, free: 64.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004322/0.8473, allocations: 3.025 MB / 482.7 MB, free: 64.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002337/0.8497, allocations: 1.884 MB / 484.6 MB, free: 63.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/0.8497, allocations: 12 kB / 484.6 MB, free: 63.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.553e-05/0.8497, allocations: 21.33 kB / 484.6 MB, free: 63.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/0.8646, allocations: 7.878 MB / 492.5 MB, free: 58.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/0.8646, allocations: 0 / 492.5 MB, free: 58.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001687/0.8663, allocations: 0.6924 MB / 493.2 MB, free: 58.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002034/0.8683, allocations: 0.5387 MB / 493.7 MB, free: 57.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002213/0.8705, allocations: 1.055 MB / 494.8 MB, free: 57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002805/0.8708, allocations: 75.59 kB / 494.9 MB, free: 56.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005194/0.876, allocations: 4.655 MB / 499.5 MB, free: 53.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.876, allocations: 4 kB / 499.5 MB, free: 53.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00479/0.8808, allocations: 3.358 MB / 0.4911 GB, free: 49.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000834/0.8816, allocations: 82.33 kB / 0.4912 GB, free: 49.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.8828, allocations: 112 kB / 0.4913 GB, free: 49.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000443/0.8832, allocations: 287.2 kB / 0.4916 GB, free: 49.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/0.8834, allocations: 75.98 kB / 0.4916 GB, free: 49.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001442/0.8848, allocations: 1.274 MB / 0.4929 GB, free: 48.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.8848, allocations: 0 / 0.4929 GB, free: 48.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005367/0.8902, allocations: 1.816 MB / 0.4946 GB, free: 46.38 MB / 378.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.0005943/0.8908, allocations: 235.7 kB / 0.4949 GB, free: 46.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005328/0.8961, allocations: 3.56 MB / 0.4983 GB, free: 42.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002247/0.8963, allocations: 122.4 kB / 0.4985 GB, free: 42.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002246/0.8986, allocations: 1.742 MB / 0.5002 GB, free: 41.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003083/0.9017, allocations: 1.339 MB / 0.5015 GB, free: 39.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06815/0.9698, allocations: 16.28 MB / 0.5174 GB, free: 23.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003403/0.9732, allocations: 2.156 MB / 0.5195 GB, free: 21.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002741/0.976, allocations: 0.7598 MB / 0.5202 GB, free: 20.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001685/0.9776, allocations: 0.9467 MB / 0.5211 GB, free: 19.61 MB / 378.7 MB Notification: Performance of SimCode: time 1.843e-06/0.9777, allocations: 0 / 0.5211 GB, free: 19.61 MB / 378.7 MB Notification: Performance of Templates: time 0.2156/1.193, allocations: 72.42 MB / 0.5919 GB, free: 85.02 MB / 394.7 MB " [Timeout remaining time 659] 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 -ignoreHideResult -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","",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.28201840352267]