Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001721/0.001721, allocations: 109.5 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002257/0.002257, allocations: 207.8 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 230.2 MB / 256.7 MB, free: 8.633 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 63.89 kB / 376.9 MB, free: 3.754 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2965, allocations: 53.32 MB / 430.2 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02864/0.3252, allocations: 24.9 MB / 455.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01672/0.3419, allocations: 7.467 MB / 462.6 MB, free: 7.125 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005224/0.3471, allocations: 187.4 kB / 462.8 MB, free: 6.941 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02141/0.3685, allocations: 8.897 MB / 471.7 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.3792, allocations: 2.957 MB / 474.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006024/0.3852, allocations: 1.751 MB / 476.4 MB, free: 9.312 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01661/0.4018, allocations: 10.85 MB / 487.2 MB, free: 14.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02895/0.4307, allocations: 16.58 MB / 0.492 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01008/0.4408, allocations: 5.759 MB / 0.4976 GB, free: 7.941 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01159/0.4524, allocations: 6.355 MB / 0.5038 GB, free: 1.566 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005271/0.4577, allocations: 1.672 MB / 0.5055 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00725/0.4649, allocations: 2.058 MB / 0.5075 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006017/0.4709, allocations: 3.164 MB / 0.5106 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.013/0.4839, allocations: 6.098 MB / 0.5165 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.594/1.078, allocations: 22.38 MB / 0.5384 GB, free: 41.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.348e-05/1.078, allocations: 4.719 kB / 0.5384 GB, free: 41.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.576e-06/1.078, allocations: 0 / 0.5384 GB, free: 41.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007996/1.079, allocations: 0 / 0.5384 GB, free: 41.79 MB / 446.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.04929/1.128, allocations: 12.96 MB / 0.551 GB, free: 38.37 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/1.128, allocations: 6.938 kB / 0.551 GB, free: 38.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03572/1.164, allocations: 6.18 MB / 0.5571 GB, free: 37.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01718/1.181, allocations: 6.943 MB / 0.5639 GB, free: 36.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001067/1.182, allocations: 0.7053 MB / 0.5646 GB, free: 36.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005855/1.188, allocations: 0.9191 MB / 0.5655 GB, free: 36.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04592/1.234, allocations: 15.78 MB / 0.5809 GB, free: 24.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006342/1.234, allocations: 23.89 kB / 0.5809 GB, free: 24.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005089/1.24, allocations: 388.3 kB / 0.5812 GB, free: 24.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005662/1.24, allocations: 0.5547 MB / 0.5818 GB, free: 23.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03328/1.273, allocations: 14.8 MB / 0.5962 GB, free: 8.906 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1069/1.38, allocations: 52.19 MB / 0.6472 GB, free: 4.125 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03006/1.41, allocations: 26.09 MB / 0.6727 GB, free: 6.988 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006137/1.416, allocations: 2.94 MB / 0.6756 GB, free: 4.047 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007059/1.417, allocations: 271.8 kB / 0.6758 GB, free: 3.766 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/1.417, allocations: 73.69 kB / 0.6759 GB, free: 3.684 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=398): time 8.055e-06/1.417, allocations: 0 / 0.6759 GB, free: 3.684 MB / 0.5138 GB Notification: Performance of matching and sorting (n=404): time 0.04774/1.465, allocations: 17.41 MB / 0.6929 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.626e-05/1.465, allocations: 94.52 kB / 0.693 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008424/1.474, allocations: 3.701 MB / 0.6966 GB, free: 14.45 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008279/1.474, allocations: 89.7 kB / 0.6967 GB, free: 14.35 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003643/1.478, allocations: 4.131 MB / 0.7007 GB, free: 10.21 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002201/1.48, allocations: 1.447 MB / 0.7021 GB, free: 8.785 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003804/1.484, allocations: 1.152 MB / 0.7033 GB, free: 7.621 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.484, allocations: 301.1 kB / 0.7035 GB, free: 7.324 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005606/1.49, allocations: 2.814 MB / 0.7063 GB, free: 4.508 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00765/1.497, allocations: 4.957 MB / 0.7111 GB, free: 14.59 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01543/1.513, allocations: 8.329 MB / 0.7193 GB, free: 5.551 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000135/1.513, allocations: 23.56 kB / 0.7193 GB, free: 5.531 MB / 0.5607 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.02248/1.535, allocations: 9.096 MB / 0.7282 GB, free: 12.86 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/1.536, allocations: 36 kB / 0.7282 GB, free: 12.82 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001717/1.536, allocations: 68 kB / 0.7283 GB, free: 12.76 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004254/1.54, allocations: 1.227 MB / 0.7295 GB, free: 11.54 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005904/1.546, allocations: 1.328 MB / 0.7308 GB, free: 10.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0189/1.565, allocations: 9.928 MB / 0.7405 GB, free: 300 kB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005245/1.57, allocations: 330.1 kB / 0.7408 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001394/1.571, allocations: 287.9 kB / 0.7411 GB, free: 15.69 MB / 0.5919 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.008827/1.58, allocations: 3.714 MB / 0.7447 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001675/1.582, allocations: 421.3 kB / 0.7451 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01607/1.598, allocations: 6.658 MB / 0.7516 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3336/1.932, allocations: 5.582 MB / 0.757 GB, free: 226.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-05/1.932, allocations: 10.38 kB / 0.757 GB, free: 226.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001203/1.932, allocations: 20.16 kB / 0.7571 GB, free: 226.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02684/1.959, allocations: 15.75 MB / 0.7724 GB, free: 221.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/1.959, allocations: 3.812 kB / 0.7725 GB, free: 221.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002598/1.961, allocations: 0.7303 MB / 0.7732 GB, free: 221.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002923/1.964, allocations: 1.117 MB / 0.7743 GB, free: 221.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002747/1.964, allocations: 91.81 kB / 0.7743 GB, free: 221.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01158/1.976, allocations: 8.857 MB / 0.783 GB, free: 216.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/1.976, allocations: 11.59 kB / 0.783 GB, free: 216.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01347/1.989, allocations: 9.852 MB / 0.7926 GB, free: 212.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002334/1.992, allocations: 0.9786 MB / 0.7936 GB, free: 212.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005225/1.992, allocations: 82.19 kB / 0.7937 GB, free: 212.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001864/1.994, allocations: 195 kB / 0.7938 GB, free: 212.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000572/1.995, allocations: 294.9 kB / 0.7941 GB, free: 212.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002131/1.995, allocations: 122.7 kB / 0.7942 GB, free: 212.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003097/1.998, allocations: 2.492 MB / 0.7967 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/1.998, allocations: 0 / 0.7967 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005182/2.003, allocations: 1.612 MB / 0.7983 GB, free: 209.5 MB / 0.5919 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.000644/2.004, allocations: 281.7 kB / 0.7985 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009765/2.014, allocations: 6.866 MB / 0.8052 GB, free: 203.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/2.014, allocations: 4 kB / 0.8052 GB, free: 203.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004879/2.019, allocations: 3.183 MB / 0.8083 GB, free: 200.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004539/2.023, allocations: 0.971 MB / 0.8093 GB, free: 199.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02699/2.05, allocations: 16.44 MB / 0.8253 GB, free: 182.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004842/2.055, allocations: 6.003 MB / 0.8312 GB, free: 176.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001664/2.057, allocations: 415.3 kB / 0.8316 GB, free: 176.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.813e-06/2.057, allocations: 0 / 0.8316 GB, free: 176.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.4229/2.48, allocations: 160.7 MB / 0.9885 GB, free: 216.8 MB / 0.5919 GB [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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