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.001797/0.001797, allocations: 118.5 kB / 18.41 MB, free: 4.684 MB / 14.72 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.002019/0.00202, allocations: 190.7 kB / 21.35 MB, free: 1.75 MB / 14.72 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.498/1.498, allocations: 222.9 MB / 247.1 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001525/0.001525, allocations: 47.92 kB / 358.7 MB, free: 8.301 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.106, allocations: 49.43 MB / 408.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.2565/0.3625, allocations: 24.76 MB / 432.9 MB, free: 5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01251/0.3751, allocations: 7.343 MB / 440.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004598/0.3797, allocations: 186.1 kB / 440.4 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01903/0.3988, allocations: 8.781 MB / 449.2 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.4093, allocations: 2.914 MB / 452.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005208/0.4145, allocations: 1.711 MB / 453.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01542/0.4299, allocations: 10.74 MB / 464.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03596/0.4659, allocations: 21.83 MB / 486.4 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01067/0.4766, allocations: 5.7 MB / 492.1 MB, free: 6.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01079/0.4875, allocations: 6.248 MB / 498.3 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004492/0.492, allocations: 1.672 MB / 0.4883 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006885/0.4989, allocations: 2.03 MB / 0.4903 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006066/0.505, allocations: 3.149 MB / 0.4933 GB, free: 10 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01411/0.5191, allocations: 6.089 MB / 0.4993 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03188/0.551, allocations: 22.38 MB / 0.5211 GB, free: 13.9 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.5511, allocations: 0 / 0.5211 GB, free: 13.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5511, allocations: 0 / 0.5211 GB, free: 13.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005641/0.5517, allocations: 0 / 0.5211 GB, free: 13.9 MB / 430.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.0396/0.5913, allocations: 12.95 MB / 0.5338 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.5914, allocations: 8.031 kB / 0.5338 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03707/0.6284, allocations: 6.249 MB / 0.5399 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01579/0.6443, allocations: 6.923 MB / 0.5467 GB, free: 3.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008129/0.6451, allocations: 0.7024 MB / 0.5473 GB, free: 3.047 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00409/0.6492, allocations: 0.9178 MB / 0.5482 GB, free: 2.129 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04255/0.6918, allocations: 15.75 MB / 0.5636 GB, free: 2.309 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004847/0.6923, allocations: 15.94 kB / 0.5636 GB, free: 2.293 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003465/0.6958, allocations: 388 kB / 0.564 GB, free: 1.914 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007254/0.6966, allocations: 0.5508 MB / 0.5646 GB, free: 1.359 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03408/0.7307, allocations: 14.78 MB / 0.579 GB, free: 2.559 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.512/1.243, allocations: 51.09 MB / 0.6289 GB, free: 119.3 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02469/1.267, allocations: 26.47 MB / 0.6547 GB, free: 98.09 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005391/1.273, allocations: 3.202 MB / 0.6579 GB, free: 98.05 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004035/1.273, allocations: 172 kB / 0.658 GB, free: 97.95 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/1.273, allocations: 83 kB / 0.6581 GB, free: 97.91 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=398): time 5.851e-06/1.273, allocations: 0 / 0.6581 GB, free: 97.91 MB / 0.4982 GB Notification: Performance of matching and sorting (n=404): time 0.03851/1.312, allocations: 17.41 MB / 0.6751 GB, free: 94.97 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/1.312, allocations: 93.48 kB / 0.6752 GB, free: 94.91 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005761/1.318, allocations: 3.694 MB / 0.6788 GB, free: 93.56 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0007519/1.319, allocations: 89.02 kB / 0.6789 GB, free: 93.48 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002175/1.321, allocations: 4.132 MB / 0.6829 GB, free: 90.46 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001421/1.322, allocations: 1.439 MB / 0.6843 GB, free: 89.21 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001578/1.324, allocations: 1.143 MB / 0.6854 GB, free: 88.55 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 5.721e-05/1.324, allocations: 305.1 kB / 0.6857 GB, free: 88.25 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00369/1.328, allocations: 2.8 MB / 0.6885 GB, free: 86.74 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004855/1.332, allocations: 4.95 MB / 0.6933 GB, free: 82.34 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009872/1.342, allocations: 8.304 MB / 0.7014 GB, free: 75.99 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-05/1.342, allocations: 21.97 kB / 0.7014 GB, free: 75.99 MB / 0.4982 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.0158/1.358, allocations: 9.118 MB / 0.7103 GB, free: 70.3 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/1.358, allocations: 32 kB / 0.7104 GB, free: 70.27 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/1.359, allocations: 75.98 kB / 0.7104 GB, free: 70.19 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003186/1.362, allocations: 1.235 MB / 0.7116 GB, free: 68.96 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004691/1.366, allocations: 1.314 MB / 0.7129 GB, free: 67.64 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01322/1.38, allocations: 9.924 MB / 0.7226 GB, free: 57.59 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004926/1.385, allocations: 335.6 kB / 0.7229 GB, free: 57.26 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001221/1.386, allocations: 284 kB / 0.7232 GB, free: 56.98 MB / 0.4982 GB 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.007326/1.393, allocations: 3.706 MB / 0.7268 GB, free: 53.26 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001575/1.395, allocations: 421.3 kB / 0.7272 GB, free: 52.85 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/1.406, allocations: 6.697 MB / 0.7338 GB, free: 46.12 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007867/1.414, allocations: 5.599 MB / 0.7392 GB, free: 40.5 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-05/1.414, allocations: 8 kB / 0.7392 GB, free: 40.49 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.586e-05/1.414, allocations: 19.92 kB / 0.7393 GB, free: 40.47 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02777/1.441, allocations: 15.78 MB / 0.7547 GB, free: 24.62 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.789e-05/1.441, allocations: 4 kB / 0.7547 GB, free: 24.61 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002787/1.444, allocations: 0.7261 MB / 0.7554 GB, free: 23.89 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002983/1.447, allocations: 1.117 MB / 0.7565 GB, free: 22.76 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000568/1.448, allocations: 87.98 kB / 0.7566 GB, free: 22.68 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01097/1.459, allocations: 8.852 MB / 0.7652 GB, free: 13.69 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/1.459, allocations: 7.938 kB / 0.7652 GB, free: 13.68 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01398/1.473, allocations: 9.877 MB / 0.7749 GB, free: 3.691 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002521/1.475, allocations: 0.9745 MB / 0.7758 GB, free: 2.695 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000976/1.476, allocations: 76 kB / 0.7759 GB, free: 2.621 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002412/1.479, allocations: 207.8 kB / 0.7761 GB, free: 2.418 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006196/1.479, allocations: 279.3 kB / 0.7763 GB, free: 2.145 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002407/1.48, allocations: 124 kB / 0.7765 GB, free: 2.023 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.003743/1.483, allocations: 2.487 MB / 0.7789 GB, free: 15.55 MB / 0.5138 GB Notification: Performance of sort global known variables: time 4.11e-07/1.484, allocations: 0 / 0.7789 GB, free: 15.55 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007875/1.491, allocations: 1.617 MB / 0.7805 GB, free: 13.93 MB / 0.5138 GB 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.001181/1.493, allocations: 286.7 kB / 0.7807 GB, free: 13.65 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01478/1.507, allocations: 7.145 MB / 0.7877 GB, free: 6.492 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/1.507, allocations: 4 kB / 0.7877 GB, free: 6.488 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007995/1.515, allocations: 3.402 MB / 0.791 GB, free: 3.078 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007447/1.523, allocations: 0.9679 MB / 0.792 GB, free: 2.141 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03832/1.561, allocations: 16.33 MB / 0.8079 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01214/1.574, allocations: 6.007 MB / 0.8138 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002158/1.576, allocations: 375.4 kB / 0.8142 GB, free: 11.27 MB / 0.545 GB Notification: Performance of SimCode: time 1.333e-06/1.576, allocations: 0 / 0.8142 GB, free: 11.27 MB / 0.545 GB Notification: Performance of Templates: time 0.4274/2.003, allocations: 158.5 MB / 0.969 GB, free: 60.61 MB / 0.545 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 18.414101773989387]