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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001266/0.001266, allocations: 111.9 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001414/0.001414, allocations: 208.9 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 230.2 MB / 255.2 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] 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.001881/0.001881, allocations: 63.89 kB / 374.6 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1096, allocations: 53.33 MB / 427.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.23/0.3397, allocations: 24.89 MB / 452.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01983/0.3595, allocations: 7.473 MB / 460.2 MB, free: 6.887 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006101/0.3656, allocations: 191.6 kB / 460.4 MB, free: 6.848 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0225/0.3881, allocations: 8.882 MB / 469.3 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01182/0.3999, allocations: 2.964 MB / 472.3 MB, free: 15.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005948/0.4059, allocations: 1.737 MB / 474 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01708/0.4229, allocations: 10.83 MB / 484.8 MB, free: 7.086 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02847/0.4514, allocations: 16.59 MB / 0.4897 GB, free: 7.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01041/0.4618, allocations: 5.728 MB / 0.4953 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01257/0.4744, allocations: 6.351 MB / 0.5015 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004674/0.4791, allocations: 1.668 MB / 0.5031 GB, free: 9.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008637/0.4877, allocations: 2.058 MB / 0.5051 GB, free: 7.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004881/0.4926, allocations: 3.16 MB / 0.5082 GB, free: 4.277 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01145/0.504, allocations: 6.094 MB / 0.5141 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02856/0.5326, allocations: 22.4 MB / 0.536 GB, free: 7.691 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.5326, allocations: 0 / 0.536 GB, free: 7.691 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5326, allocations: 0 / 0.536 GB, free: 7.691 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004912/0.5331, allocations: 0 / 0.536 GB, free: 7.691 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.03947/0.5726, allocations: 12.96 MB / 0.5487 GB, free: 10.62 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.5726, allocations: 12.03 kB / 0.5487 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03608/0.6087, allocations: 6.179 MB / 0.5547 GB, free: 4.414 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01503/0.6237, allocations: 6.942 MB / 0.5615 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007441/0.6245, allocations: 0.7062 MB / 0.5622 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003705/0.6282, allocations: 0.9217 MB / 0.5631 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03963/0.6678, allocations: 15.78 MB / 0.5785 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004203/0.6682, allocations: 11.95 kB / 0.5785 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003005/0.6712, allocations: 388 kB / 0.5789 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000674/0.6719, allocations: 0.5586 MB / 0.5794 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03377/0.7057, allocations: 14.81 MB / 0.5939 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7087/1.414, allocations: 52.17 MB / 0.6448 GB, free: 123.7 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03344/1.448, allocations: 26.1 MB / 0.6703 GB, free: 102.5 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007657/1.455, allocations: 2.934 MB / 0.6732 GB, free: 101.6 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006642/1.456, allocations: 272.7 kB / 0.6735 GB, free: 101.4 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.679e-05/1.456, allocations: 75.5 kB / 0.6735 GB, free: 101.3 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=398): time 9.648e-06/1.456, allocations: 0 / 0.6735 GB, free: 101.3 MB / 0.5138 GB Notification: Performance of matching and sorting (n=404): time 0.0468/1.503, allocations: 17.43 MB / 0.6905 GB, free: 94.05 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/1.503, allocations: 92.39 kB / 0.6906 GB, free: 93.98 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004693/1.508, allocations: 3.699 MB / 0.6942 GB, free: 92.05 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0006147/1.508, allocations: 88.45 kB / 0.6943 GB, free: 91.97 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.00188/1.51, allocations: 4.124 MB / 0.6984 GB, free: 88.89 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001414/1.512, allocations: 1.451 MB / 0.6998 GB, free: 87.64 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001605/1.513, allocations: 1.151 MB / 0.7009 GB, free: 86.98 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.69e-05/1.513, allocations: 312.9 kB / 0.7012 GB, free: 86.68 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003569/1.517, allocations: 2.803 MB / 0.7039 GB, free: 85.16 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004551/1.521, allocations: 4.955 MB / 0.7088 GB, free: 80.78 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008668/1.53, allocations: 8.331 MB / 0.7169 GB, free: 74.53 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-05/1.53, allocations: 19.72 kB / 0.7169 GB, free: 74.53 MB / 0.5138 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01475/1.545, allocations: 9.097 MB / 0.7258 GB, free: 65.42 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.107e-05/1.545, allocations: 39.98 kB / 0.7258 GB, free: 65.38 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/1.545, allocations: 68 kB / 0.7259 GB, free: 65.32 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003382/1.548, allocations: 1.234 MB / 0.7271 GB, free: 64.08 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004748/1.553, allocations: 1.327 MB / 0.7284 GB, free: 62.75 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/1.566, allocations: 9.922 MB / 0.7381 GB, free: 52.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004647/1.571, allocations: 323.6 kB / 0.7384 GB, free: 52.38 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007925/1.571, allocations: 291.7 kB / 0.7387 GB, free: 52.1 MB / 0.5138 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.005682/1.577, allocations: 3.708 MB / 0.7423 GB, free: 48.38 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/1.578, allocations: 425.3 kB / 0.7427 GB, free: 47.96 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/1.588, allocations: 6.658 MB / 0.7492 GB, free: 41.27 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008/1.596, allocations: 5.579 MB / 0.7547 GB, free: 35.66 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/1.596, allocations: 8 kB / 0.7547 GB, free: 35.66 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.11e-05/1.597, allocations: 27.91 kB / 0.7547 GB, free: 35.63 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02494/1.621, allocations: 15.75 MB / 0.7701 GB, free: 19.79 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.082e-05/1.621, allocations: 4 kB / 0.7701 GB, free: 19.79 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002742/1.624, allocations: 0.7371 MB / 0.7708 GB, free: 19.05 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003062/1.627, allocations: 1.118 MB / 0.7719 GB, free: 17.93 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005414/1.628, allocations: 91.97 kB / 0.772 GB, free: 17.84 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/1.639, allocations: 8.846 MB / 0.7806 GB, free: 8.859 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.639, allocations: 11.94 kB / 0.7806 GB, free: 8.848 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0142/1.653, allocations: 9.866 MB / 0.7903 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002657/1.656, allocations: 0.9784 MB / 0.7912 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008358/1.657, allocations: 79.98 kB / 0.7913 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002359/1.659, allocations: 195.7 kB / 0.7915 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007522/1.66, allocations: 295.3 kB / 0.7918 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002846/1.66, allocations: 120 kB / 0.7919 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004471/1.665, allocations: 2.499 MB / 0.7943 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/1.665, allocations: 0 / 0.7943 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006381/1.671, allocations: 1.609 MB / 0.7959 GB, free: 9.098 MB / 0.5294 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.0008607/1.672, allocations: 279 kB / 0.7962 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01378/1.686, allocations: 6.867 MB / 0.8029 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.854e-06/1.686, allocations: 0 / 0.8029 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007074/1.693, allocations: 3.179 MB / 0.806 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005237/1.698, allocations: 0.9764 MB / 0.8069 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03074/1.729, allocations: 16.3 MB / 0.8228 GB, free: 13.4 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007529/1.736, allocations: 6.003 MB / 0.8287 GB, free: 7.355 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001768/1.738, allocations: 415.3 kB / 0.8291 GB, free: 6.949 MB / 0.5607 GB Notification: Performance of SimCode: time 1.042e-06/1.738, allocations: 0 / 0.8291 GB, free: 6.949 MB / 0.5607 GB Notification: Performance of Templates: time 0.3923/2.13, allocations: 160.7 MB / 0.986 GB, free: 60.54 MB / 0.5607 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_2/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_2/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 [Calling sys.exit(0), Time elapsed: 17.8658532849513]