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.001317/0.001317, allocations: 85.72 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001394/0.001394, allocations: 166.3 kB / 23.96 MB, free: 4.141 MB / 14.72 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 1.45/1.45, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.323e-06/1.323e-06, allocations: 0 / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.354e-05, allocations: 5.516 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02589/0.02591, allocations: 21.41 MB / 346.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01651/0.04242, allocations: 7.181 MB / 353.7 MB, free: 8.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00533/0.04775, allocations: 222.9 kB / 353.9 MB, free: 8.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02196/0.06971, allocations: 8.674 MB / 362.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01066/0.08037, allocations: 3.017 MB / 365.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005553/0.08593, allocations: 1.721 MB / 367.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01587/0.1018, allocations: 11.29 MB / 378.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02776/0.1296, allocations: 14.21 MB / 392.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01747/0.147, allocations: 8.616 MB / 401.4 MB, free: 8.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01057/0.1576, allocations: 5.454 MB / 406.9 MB, free: 3.016 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004016/0.1616, allocations: 1.668 MB / 408.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006247/0.1679, allocations: 2.062 MB / 410.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004683/0.1725, allocations: 3.222 MB / 413.8 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008377/0.1809, allocations: 4.074 MB / 417.9 MB, free: 7.973 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02876/0.2097, allocations: 22.72 MB / 440.6 MB, free: 1.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.2097, allocations: 0 / 440.6 MB, free: 1.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2097, allocations: 0 / 440.6 MB, free: 1.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006678/0.2104, allocations: 0 / 440.6 MB, free: 1.191 MB / 398.1 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.04006/0.2504, allocations: 12.79 MB / 453.4 MB, free: 4.309 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.2505, allocations: 8.031 kB / 453.4 MB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03698/0.2874, allocations: 6.187 MB / 459.6 MB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01615/0.3036, allocations: 7.019 MB / 466.6 MB, free: 7.016 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009069/0.3045, allocations: 0.6985 MB / 467.3 MB, free: 6.316 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003978/0.3085, allocations: 0.9218 MB / 468.3 MB, free: 5.395 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3489/0.6574, allocations: 15.91 MB / 484.2 MB, free: 107.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002898/0.6577, allocations: 21.61 kB / 484.2 MB, free: 107.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002669/0.6604, allocations: 389.8 kB / 484.6 MB, free: 106.9 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005914/0.6609, allocations: 0.5513 MB / 485.1 MB, free: 106.9 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02857/0.6895, allocations: 14.75 MB / 499.9 MB, free: 100.4 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06913/0.7586, allocations: 44.08 MB / 0.5312 GB, free: 58.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01571/0.7743, allocations: 9.197 MB / 0.5402 GB, free: 50.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00373/0.7781, allocations: 2.928 MB / 0.5431 GB, free: 47.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003125/0.7784, allocations: 103 kB / 0.5431 GB, free: 47.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.7784, allocations: 73.62 kB / 0.5432 GB, free: 47.06 MB / 430.1 MB Notification: Performance of pre-optimization done (n=398): time 6.793e-06/0.7784, allocations: 0 / 0.5432 GB, free: 47.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=404): time 0.03294/0.8114, allocations: 17.07 MB / 0.5599 GB, free: 30.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.8114, allocations: 90.58 kB / 0.56 GB, free: 30.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004119/0.8155, allocations: 3.59 MB / 0.5635 GB, free: 26.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004341/0.816, allocations: 97.7 kB / 0.5636 GB, free: 26.65 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001484/0.8175, allocations: 4.128 MB / 0.5676 GB, free: 22.63 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009138/0.8184, allocations: 1.42 MB / 0.569 GB, free: 21.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001408/0.8198, allocations: 1.152 MB / 0.5701 GB, free: 20.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.305e-05/0.8198, allocations: 305.1 kB / 0.5704 GB, free: 19.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00334/0.8232, allocations: 2.791 MB / 0.5731 GB, free: 16.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004096/0.8273, allocations: 4.978 MB / 0.578 GB, free: 10.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008279/0.8355, allocations: 8.314 MB / 0.5861 GB, free: 1.672 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.862e-05/0.8356, allocations: 20 kB / 0.5861 GB, free: 1.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01715/0.8528, allocations: 9.055 MB / 0.595 GB, free: 8.578 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.416e-05/0.8528, allocations: 36.53 kB / 0.595 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001363/0.853, allocations: 68 kB / 0.5951 GB, free: 8.477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003792/0.8568, allocations: 1.19 MB / 0.5962 GB, free: 7.281 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005496/0.8623, allocations: 1.322 MB / 0.5975 GB, free: 5.957 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01734/0.8796, allocations: 9.468 MB / 0.6068 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004482/0.8841, allocations: 327.6 kB / 0.6071 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/0.8851, allocations: 288 kB / 0.6074 GB, free: 11.79 MB / 462.1 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.009088/0.8942, allocations: 3.708 MB / 0.611 GB, free: 8.062 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/0.8953, allocations: 413.3 kB / 0.6114 GB, free: 7.656 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0132/0.9085, allocations: 6.606 MB / 0.6178 GB, free: 1.016 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01021/0.9187, allocations: 5.543 MB / 0.6232 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.781e-05/0.9187, allocations: 12 kB / 0.6233 GB, free: 11.44 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-05/0.9188, allocations: 23.92 kB / 0.6233 GB, free: 11.42 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02682/0.9456, allocations: 13.45 MB / 0.6364 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/0.9456, allocations: 8.531 kB / 0.6364 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00308/0.9487, allocations: 0.7255 MB / 0.6371 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003264/0.952, allocations: 1.08 MB / 0.6382 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003724/0.9523, allocations: 95.97 kB / 0.6383 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01426/0.9666, allocations: 8.419 MB / 0.6465 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.9666, allocations: 4 kB / 0.6465 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1947/1.161, allocations: 9.777 MB / 0.656 GB, free: 155.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002366/1.164, allocations: 0.8954 MB / 0.6569 GB, free: 155.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006059/1.164, allocations: 76.53 kB / 0.657 GB, free: 155.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00205/1.166, allocations: 198.1 kB / 0.6572 GB, free: 155.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006473/1.167, allocations: 306.4 kB / 0.6575 GB, free: 155 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002675/1.167, allocations: 127.4 kB / 0.6576 GB, free: 155 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003246/1.17, allocations: 2.33 MB / 0.6599 GB, free: 154.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/1.17, allocations: 0 / 0.6599 GB, free: 154.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005663/1.176, allocations: 1.605 MB / 0.6614 GB, free: 154 MB / 494.1 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.0006347/1.177, allocations: 273.6 kB / 0.6617 GB, free: 153.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009923/1.187, allocations: 6.852 MB / 0.6684 GB, free: 151.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.096e-06/1.187, allocations: 0 / 0.6684 GB, free: 151.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005041/1.192, allocations: 3.164 MB / 0.6715 GB, free: 150 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004133/1.196, allocations: 0.8776 MB / 0.6723 GB, free: 149.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02403/1.22, allocations: 16.59 MB / 0.6885 GB, free: 142.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005831/1.226, allocations: 5.741 MB / 0.6941 GB, free: 138 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004308/1.23, allocations: 1.889 MB / 0.696 GB, free: 136.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009963/1.231, allocations: 350.3 kB / 0.6963 GB, free: 136.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.243e-06/1.231, allocations: 0 / 0.6963 GB, free: 136.4 MB / 494.1 MB Notification: Performance of Templates: time 0.09228/1.323, allocations: 60.22 MB / 0.7551 GB, free: 78.5 MB / 494.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.567935414612293]