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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=2000,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=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 108.1 kB / 17.15 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 198 kB / 18.07 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.1 MB / 223.9 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 47.92 kB / 280 MB, free: 3.562 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1187, allocations: 46.63 MB / 326.6 MB, free: 4.863 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02531/0.1441, allocations: 24.46 MB / 351.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01847/0.1626, allocations: 7.284 MB / 358.4 MB, free: 4.988 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00799/0.1706, allocations: 147.5 kB / 358.5 MB, free: 4.844 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02039/0.1911, allocations: 8.321 MB / 366.8 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01246/0.2036, allocations: 2.738 MB / 369.6 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006267/0.2099, allocations: 1.622 MB / 371.2 MB, free: 8.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2326/0.4426, allocations: 10.81 MB / 382 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03309/0.4757, allocations: 18.17 MB / 400.2 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009931/0.4857, allocations: 4.972 MB / 405.1 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01093/0.4967, allocations: 6.049 MB / 411.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004796/0.5015, allocations: 1.08 MB / 412.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00881/0.5103, allocations: 1.442 MB / 413.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005069/0.5154, allocations: 2.611 MB / 416.3 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01389/0.5293, allocations: 5.604 MB / 421.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02585/0.5552, allocations: 21.88 MB / 443.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.5553, allocations: 0 / 443.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5553, allocations: 0 / 443.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000723/0.556, allocations: 0 / 443.8 MB, free: 7.926 MB / 350.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.04706/0.6031, allocations: 12.98 MB / 456.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.66e-05/0.6032, allocations: 12.03 kB / 456.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04308/0.6463, allocations: 7.137 MB / 463.9 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01506/0.6614, allocations: 6.154 MB / 470.1 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008735/0.6623, allocations: 0.7196 MB / 470.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005438/0.6677, allocations: 0.9346 MB / 471.8 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05086/0.7186, allocations: 16.22 MB / 488 MB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005049/0.7192, allocations: 11.89 kB / 488 MB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004985/0.7242, allocations: 401.6 kB / 488.4 MB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006436/0.7248, allocations: 0.5825 MB / 489 MB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03904/0.7639, allocations: 15.46 MB / 0.4926 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3561/1.12, allocations: 52.83 MB / 0.5442 GB, free: 124 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02968/1.15, allocations: 35.53 MB / 0.5789 GB, free: 93.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00612/1.156, allocations: 3.43 MB / 0.5822 GB, free: 93.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01713/1.173, allocations: 10.15 MB / 0.5922 GB, free: 91.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/1.173, allocations: 64.58 kB / 0.5922 GB, free: 91.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=303): time 5.791e-06/1.173, allocations: 0 / 0.5922 GB, free: 91.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=309): time 0.03675/1.21, allocations: 15.1 MB / 0.607 GB, free: 85.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/1.21, allocations: 88.03 kB / 0.607 GB, free: 85.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008433/1.218, allocations: 3.853 MB / 0.6108 GB, free: 83.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007327/1.219, allocations: 76.05 kB / 0.6109 GB, free: 83.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002802/1.222, allocations: 4.255 MB / 0.615 GB, free: 80.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001588/1.224, allocations: 1.074 MB / 0.6161 GB, free: 79.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003539/1.227, allocations: 1.099 MB / 0.6172 GB, free: 78.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/1.227, allocations: 305.1 kB / 0.6175 GB, free: 78.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003813/1.231, allocations: 2.584 MB / 0.62 GB, free: 76.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004722/1.236, allocations: 4.951 MB / 0.6248 GB, free: 72.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009558/1.245, allocations: 8.003 MB / 0.6326 GB, free: 64.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.688e-05/1.246, allocations: 24 kB / 0.6326 GB, free: 64.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.0247/1.27, allocations: 8.692 MB / 0.6411 GB, free: 56.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001307/1.27, allocations: 36.53 kB / 0.6412 GB, free: 56.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002081/1.271, allocations: 80 kB / 0.6412 GB, free: 56.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004389/1.275, allocations: 1.215 MB / 0.6424 GB, free: 54.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00626/1.281, allocations: 1.221 MB / 0.6436 GB, free: 53.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0175/1.299, allocations: 9.141 MB / 0.6526 GB, free: 44.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006707/1.306, allocations: 331.4 kB / 0.6529 GB, free: 44.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001381/1.307, allocations: 291.9 kB / 0.6531 GB, free: 43.77 MB / 446.1 MB 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 (641): * Single equations (assignments): 636 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00819/1.315, allocations: 3.728 MB / 0.6568 GB, free: 40.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0015/1.317, allocations: 387.2 kB / 0.6572 GB, free: 39.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01192/1.329, allocations: 5.863 MB / 0.6629 GB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007412/1.336, allocations: 4.81 MB / 0.6676 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/1.336, allocations: 8 kB / 0.6676 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.554e-05/1.336, allocations: 19.94 kB / 0.6676 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02189/1.358, allocations: 13.79 MB / 0.6811 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/1.358, allocations: 4 kB / 0.6811 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002111/1.36, allocations: 0.5582 MB / 0.6816 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002672/1.363, allocations: 1.082 MB / 0.6827 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002546/1.363, allocations: 71.97 kB / 0.6827 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009922/1.373, allocations: 8.059 MB / 0.6906 GB, free: 5.066 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.373, allocations: 8 kB / 0.6906 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/1.386, allocations: 8.593 MB / 0.699 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002523/1.389, allocations: 0.871 MB / 0.6999 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001193/1.39, allocations: 60 kB / 0.6999 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002666/1.393, allocations: 179.8 kB / 0.7001 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007314/1.393, allocations: 230.7 kB / 0.7003 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003229/1.394, allocations: 95.98 kB / 0.7004 GB, free: 10.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006048/1.4, allocations: 2.585 MB / 0.7029 GB, free: 8.328 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.9e-07/1.4, allocations: 0 / 0.7029 GB, free: 8.328 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008374/1.408, allocations: 1.551 MB / 0.7044 GB, free: 6.781 MB / 462.1 MB 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 (285): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001131/1.409, allocations: 254.1 kB / 0.7047 GB, free: 6.531 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2228/1.632, allocations: 6.562 MB / 0.7111 GB, free: 153.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.879e-05/1.632, allocations: 3.625 kB / 0.7111 GB, free: 153.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007495/1.64, allocations: 2.984 MB / 0.714 GB, free: 152.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005554/1.645, allocations: 0.8941 MB / 0.7149 GB, free: 152.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03551/1.681, allocations: 20.31 MB / 0.7347 GB, free: 143 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007602/1.689, allocations: 6.231 MB / 0.7408 GB, free: 140.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006084/1.695, allocations: 1.942 MB / 0.7427 GB, free: 140.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009275/1.696, allocations: 306.8 kB / 0.743 GB, free: 140.3 MB / 462.1 MB Notification: Performance of SimCode: time 3.296e-06/1.696, allocations: 0 / 0.743 GB, free: 140.3 MB / 462.1 MB Notification: Performance of Templates: time 0.09845/1.794, allocations: 61.7 MB / 0.8032 GB, free: 89.46 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (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 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/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","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches