Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001926/0.001926, allocations: 84.88 kB / 22 MB, free: 4.754 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.002207/0.002207, allocations: 153.8 kB / 25.24 MB, free: 2.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.302/1.302, allocations: 158.6 MB / 187 MB, free: 6.348 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 51.92 kB / 299.4 MB, free: 6.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.199, allocations: 49.15 MB / 348.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02544/0.2245, allocations: 21.42 MB / 370 MB, free: 9.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01336/0.2378, allocations: 7.089 MB / 377.1 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002409/0.2402, allocations: 195 kB / 377.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01978/0.26, allocations: 8.655 MB / 385.9 MB, free: 10 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008389/0.2684, allocations: 3 MB / 388.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004189/0.2726, allocations: 1.746 MB / 390.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01383/0.2864, allocations: 10.98 MB / 401.6 MB, free: 10.22 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02096/0.3074, allocations: 14.23 MB / 415.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008169/0.3155, allocations: 5.946 MB / 421.8 MB, free: 5.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01015/0.3257, allocations: 6.136 MB / 427.9 MB, free: 15.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003189/0.3289, allocations: 1.68 MB / 429.6 MB, free: 14.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004528/0.3334, allocations: 2.039 MB / 431.7 MB, free: 12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003341/0.3367, allocations: 3.227 MB / 434.9 MB, free: 8.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00729/0.344, allocations: 4.779 MB / 439.7 MB, free: 3.973 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0247/0.3687, allocations: 22.51 MB / 462.2 MB, free: 13.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/0.3687, allocations: 4 kB / 462.2 MB, free: 13.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3687, allocations: 0 / 462.2 MB, free: 13.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004007/0.3692, allocations: 0 / 462.2 MB, free: 13.39 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: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.03452/0.4037, allocations: 13.04 MB / 475.2 MB, free: 268 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.4037, allocations: 11.98 kB / 475.2 MB, free: 256 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2097/0.6134, allocations: 7.245 MB / 482.5 MB, free: 100 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/0.6248, allocations: 6.236 MB / 488.7 MB, free: 95.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003501/0.6252, allocations: 0.717 MB / 489.4 MB, free: 94.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00208/0.6273, allocations: 0.9323 MB / 490.4 MB, free: 93.42 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02534/0.6526, allocations: 16.35 MB / 0.4948 GB, free: 77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002325/0.6528, allocations: 19.84 kB / 0.4949 GB, free: 76.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001431/0.6543, allocations: 394.9 kB / 0.4952 GB, free: 76.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000394/0.6547, allocations: 0.5786 MB / 0.4958 GB, free: 76.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02444/0.6791, allocations: 15.38 MB / 0.5108 GB, free: 60.62 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05447/0.7336, allocations: 44.95 MB / 0.5547 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01672/0.7503, allocations: 10.93 MB / 0.5654 GB, free: 5.668 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003346/0.7536, allocations: 3.074 MB / 0.5684 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01439/0.768, allocations: 9.002 MB / 0.5772 GB, free: 9.527 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.778e-05/0.7681, allocations: 68.83 kB / 0.5772 GB, free: 9.449 MB / 446.1 MB Notification: Performance of pre-optimization done (n=297): time 7.514e-06/0.7681, allocations: 4 kB / 0.5773 GB, free: 9.445 MB / 446.1 MB Notification: Performance of matching and sorting (n=303): time 0.03462/0.8027, allocations: 15.09 MB / 0.592 GB, free: 10.25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.022e-05/0.8028, allocations: 85.78 kB / 0.5921 GB, free: 10.15 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005957/0.8088, allocations: 3.767 MB / 0.5957 GB, free: 6.379 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004664/0.8092, allocations: 81.7 kB / 0.5958 GB, free: 6.293 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003459/0.8127, allocations: 4.427 MB / 0.6001 GB, free: 1.832 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001259/0.8139, allocations: 1.104 MB / 0.6012 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001808/0.8158, allocations: 1.1 MB / 0.6023 GB, free: 15.61 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.8159, allocations: 301.1 kB / 0.6026 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004305/0.8202, allocations: 2.548 MB / 0.6051 GB, free: 12.76 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006708/0.8269, allocations: 4.926 MB / 0.6099 GB, free: 6.699 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01238/0.8393, allocations: 7.934 MB / 0.6176 GB, free: 13.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-05/0.8394, allocations: 24 kB / 0.6177 GB, free: 13.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.025/0.8644, allocations: 8.584 MB / 0.626 GB, free: 4.973 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.94e-05/0.8645, allocations: 40 kB / 0.6261 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001755/0.8646, allocations: 76 kB / 0.6261 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006255/0.8709, allocations: 1.21 MB / 0.6273 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009446/0.8803, allocations: 1.224 MB / 0.6285 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03028/0.9106, allocations: 9.492 MB / 0.6378 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007482/0.9181, allocations: 335.5 kB / 0.6381 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001364/0.9195, allocations: 288 kB / 0.6384 GB, free: 8.203 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (638): * Single equations (assignments): 636 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01267/0.9321, allocations: 3.728 MB / 0.642 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001854/0.934, allocations: 377.5 kB / 0.6424 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01907/0.9531, allocations: 5.723 MB / 0.648 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01007/0.9631, allocations: 4.704 MB / 0.6526 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.334e-05/0.9632, allocations: 8 kB / 0.6526 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.817e-05/0.9632, allocations: 19.94 kB / 0.6526 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.215/1.178, allocations: 11.45 MB / 0.6638 GB, free: 174.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/1.178, allocations: 5.75 kB / 0.6638 GB, free: 174.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002716/1.181, allocations: 0.5573 MB / 0.6643 GB, free: 174.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002957/1.184, allocations: 1.072 MB / 0.6654 GB, free: 174.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004073/1.184, allocations: 78.39 kB / 0.6655 GB, free: 174.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01051/1.195, allocations: 8.41 MB / 0.6737 GB, free: 170.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.195, allocations: 11.38 kB / 0.6737 GB, free: 170.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01145/1.206, allocations: 8.419 MB / 0.6819 GB, free: 167.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/1.208, allocations: 0.7968 MB / 0.6827 GB, free: 166.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005105/1.209, allocations: 66.97 kB / 0.6827 GB, free: 166.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001799/1.21, allocations: 183.8 kB / 0.6829 GB, free: 166.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005196/1.211, allocations: 232.4 kB / 0.6831 GB, free: 166.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002087/1.211, allocations: 96.28 kB / 0.6832 GB, free: 166.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002977/1.214, allocations: 2.427 MB / 0.6856 GB, free: 165.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/1.214, allocations: 0 / 0.6856 GB, free: 165.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004598/1.219, allocations: 1.54 MB / 0.6871 GB, free: 165.7 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (282): * Single equations (assignments): 280 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004761/1.219, allocations: 233.5 kB / 0.6873 GB, free: 165.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008774/1.228, allocations: 6.237 MB / 0.6934 GB, free: 161.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.228, allocations: 0 / 0.6934 GB, free: 161.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004489/1.232, allocations: 2.759 MB / 0.6961 GB, free: 158.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003609/1.236, allocations: 0.8398 MB / 0.6969 GB, free: 158.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02039/1.256, allocations: 16.45 MB / 0.713 GB, free: 143.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004758/1.261, allocations: 5.775 MB / 0.7186 GB, free: 137.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00411/1.265, allocations: 1.857 MB / 0.7204 GB, free: 135.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00077/1.266, allocations: 300.4 kB / 0.7207 GB, free: 135.2 MB / 0.5137 GB Notification: Performance of SimCode: time 7.41e-07/1.266, allocations: 0 / 0.7207 GB, free: 135.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.08168/1.348, allocations: 54.41 MB / 0.7739 GB, free: 80.79 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 6.958999846014194]