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.0009628/0.0009628, allocations: 78.28 kB / 21.42 MB, free: 3.074 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.00102/0.00102, allocations: 150.4 kB / 24.8 MB, free: 9.281 MB / 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 1.11/1.11, allocations: 173.3 MB / 201.4 MB, free: 9.219 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.954e-06/1.954e-06, allocations: 0 / 268.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.116e-05, allocations: 6.312 kB / 268.4 MB, free: 6.164 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1375/0.1375, allocations: 23.23 MB / 291.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01373/0.1512, allocations: 7.242 MB / 298.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005366/0.1566, allocations: 221 kB / 299.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01231/0.1689, allocations: 9.104 MB / 308.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008426/0.1773, allocations: 3.023 MB / 311.3 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0036/0.1809, allocations: 1.727 MB / 313 MB, free: 9.395 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01056/0.1915, allocations: 11.19 MB / 324.2 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02018/0.2116, allocations: 14.22 MB / 338.4 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01455/0.2262, allocations: 8.698 MB / 347.1 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009791/0.236, allocations: 6.223 MB / 353.3 MB, free: 5.238 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004778/0.2408, allocations: 1.664 MB / 355 MB, free: 3.574 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00682/0.2476, allocations: 2.038 MB / 357 MB, free: 1.535 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004398/0.252, allocations: 3.265 MB / 360.3 MB, free: 14.26 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009945/0.2619, allocations: 4.129 MB / 364.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01496/0.2769, allocations: 10.39 MB / 374.8 MB, free: 15.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.2769, allocations: 0 / 374.8 MB, free: 15.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2769, allocations: 0 / 374.8 MB, free: 15.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000475/0.2774, allocations: 0 / 374.8 MB, free: 15.7 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.02375/0.3011, allocations: 12.67 MB / 387.5 MB, free: 2.938 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.3012, allocations: 12.86 kB / 387.5 MB, free: 2.926 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01906/0.3202, allocations: 6.048 MB / 393.5 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01108/0.3313, allocations: 6.253 MB / 399.8 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005774/0.3319, allocations: 0.7024 MB / 400.5 MB, free: 5.844 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002922/0.3348, allocations: 0.9179 MB / 401.4 MB, free: 4.926 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01756/0.3524, allocations: 7.551 MB / 409 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00022/0.3526, allocations: 11.94 kB / 409 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001063/0.3536, allocations: 392 kB / 409.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004373/0.3541, allocations: 0.5508 MB / 409.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/0.3649, allocations: 3.566 MB / 413.5 MB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3334/0.6984, allocations: 40.15 MB / 453.6 MB, free: 73.14 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006699/0.7051, allocations: 6.571 MB / 460.2 MB, free: 72.77 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001621/0.7067, allocations: 1.149 MB / 461.3 MB, free: 72.72 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002737/0.707, allocations: 130.7 kB / 461.5 MB, free: 72.7 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.04e-05/0.707, allocations: 82.19 kB / 461.5 MB, free: 72.65 MB / 378.8 MB Notification: Performance of pre-optimization done (n=398): time 9.097e-06/0.7071, allocations: 0 / 461.5 MB, free: 72.65 MB / 378.8 MB Notification: Performance of matching and sorting (n=404): time 0.01635/0.7234, allocations: 8.518 MB / 470.1 MB, free: 71.68 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.7234, allocations: 93.7 kB / 470.1 MB, free: 71.62 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003056/0.7265, allocations: 3.226 MB / 473.4 MB, free: 71.19 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001991/0.7267, allocations: 90.7 kB / 473.5 MB, free: 71.16 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001789/0.7285, allocations: 4.384 MB / 477.8 MB, free: 69.39 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008352/0.7293, allocations: 1.493 MB / 479.3 MB, free: 68.51 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/0.7304, allocations: 1.285 MB / 480.6 MB, free: 68.4 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 5.534e-05/0.7305, allocations: 482.6 kB / 481.1 MB, free: 67.93 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007547/0.7313, allocations: 0.6672 MB / 481.8 MB, free: 67.91 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/0.733, allocations: 3.936 MB / 485.7 MB, free: 64.04 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003197/0.7362, allocations: 5.157 MB / 490.9 MB, free: 60.12 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.832e-05/0.7362, allocations: 17.12 kB / 490.9 MB, free: 60.12 MB / 378.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.005633/0.7419, allocations: 4.81 MB / 495.7 MB, free: 58.23 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/0.7419, allocations: 36 kB / 495.7 MB, free: 58.2 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.111e-05/0.742, allocations: 72.52 kB / 495.8 MB, free: 58.13 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001907/0.7439, allocations: 1.09 MB / 496.9 MB, free: 57.21 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002147/0.746, allocations: 1.23 MB / 498.1 MB, free: 56.12 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005217/0.7512, allocations: 5.734 MB / 0.492 GB, free: 51.68 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/0.7537, allocations: 222.9 kB / 0.4922 GB, free: 51.55 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002996/0.754, allocations: 235.8 kB / 0.4925 GB, free: 51.37 MB / 378.8 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.001936/0.7559, allocations: 0.5402 MB / 0.493 GB, free: 51.07 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007107/0.7566, allocations: 0.5201 MB / 0.4935 GB, free: 50.6 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003845/0.7605, allocations: 3.309 MB / 0.4967 GB, free: 47.99 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00265/0.7631, allocations: 2.297 MB / 0.499 GB, free: 45.98 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.7631, allocations: 12 kB / 0.499 GB, free: 45.97 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-05/0.7632, allocations: 23.39 kB / 0.499 GB, free: 45.95 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0145/0.7777, allocations: 10.84 MB / 0.5096 GB, free: 37.47 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.7777, allocations: 4 kB / 0.5096 GB, free: 37.47 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/0.779, allocations: 0.6383 MB / 0.5102 GB, free: 36.87 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001776/0.7808, allocations: 0.9797 MB / 0.5112 GB, free: 35.89 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001655/0.781, allocations: 87.98 kB / 0.5113 GB, free: 35.81 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004669/0.7856, allocations: 5.312 MB / 0.5165 GB, free: 30.51 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.7856, allocations: 7.375 kB / 0.5165 GB, free: 30.5 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004828/0.7905, allocations: 4.114 MB / 0.5205 GB, free: 26.36 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/0.7918, allocations: 0.7524 MB / 0.5212 GB, free: 25.61 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003308/0.7921, allocations: 76.88 kB / 0.5213 GB, free: 25.54 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008468/0.793, allocations: 108 kB / 0.5214 GB, free: 25.43 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003943/0.7934, allocations: 302.4 kB / 0.5217 GB, free: 25.14 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/0.7935, allocations: 95.39 kB / 0.5218 GB, free: 25.05 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001376/0.7949, allocations: 1.398 MB / 0.5231 GB, free: 23.79 MB / 378.8 MB Notification: Performance of sort global known variables: time 9e-08/0.7949, allocations: 0 / 0.5231 GB, free: 23.79 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004303/0.7992, allocations: 1.617 MB / 0.5247 GB, free: 22.17 MB / 378.8 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.0004385/0.7996, allocations: 285.6 kB / 0.525 GB, free: 21.93 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.004744/0.8044, allocations: 3.702 MB / 0.5286 GB, free: 18.49 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.8044, allocations: 0 / 0.5286 GB, free: 18.49 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002197/0.8066, allocations: 1.931 MB / 0.5305 GB, free: 16.67 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/0.8092, allocations: 0.895 MB / 0.5314 GB, free: 15.8 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0164/0.8256, allocations: 13.72 MB / 0.5448 GB, free: 1.988 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0027/0.8283, allocations: 2.597 MB / 0.5473 GB, free: 15.35 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.002546/0.8308, allocations: 0.67 MB / 0.548 GB, free: 14.68 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001707/0.8325, allocations: 0.9704 MB / 0.5489 GB, free: 13.7 MB / 394.8 MB Notification: Performance of SimCode: time 2.114e-06/0.8325, allocations: 0 / 0.5489 GB, free: 13.7 MB / 394.8 MB Notification: Performance of Templates: time 0.2312/1.064, allocations: 65.25 MB / 0.6126 GB, free: 104.8 MB / 410.8 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.825247068889439]