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.IMS_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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009988/0.000999, allocations: 94.81 kB / 17.3 MB, free: 6.344 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.00119/0.00119, allocations: 180.8 kB / 18.21 MB, free: 5.531 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.656/1.656, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004747/0.0004745, allocations: 12 kB / 281.4 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1208, allocations: 47.58 MB / 329 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02774/0.1486, allocations: 25.45 MB / 354.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02161/0.1702, allocations: 7.861 MB / 362.3 MB, free: 2.293 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007613/0.1779, allocations: 159.5 kB / 362.5 MB, free: 2.137 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008245/0.1862, allocations: 1.949 MB / 364.4 MB, free: 184 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01345/0.1996, allocations: 3.08 MB / 367.5 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006635/0.2063, allocations: 1.613 MB / 369.1 MB, free: 11.47 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2517/0.458, allocations: 12.41 MB / 381.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04266/0.5008, allocations: 24.11 MB / 405.6 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01107/0.5119, allocations: 4.637 MB / 410.2 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009344/0.5212, allocations: 5.639 MB / 415.9 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003241/0.5245, allocations: 0.7196 MB / 416.6 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005665/0.5302, allocations: 1.085 MB / 417.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00337/0.5336, allocations: 2.324 MB / 420 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01107/0.5447, allocations: 5.538 MB / 425.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03417/0.5789, allocations: 23.27 MB / 448.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.5789, allocations: 0 / 448.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.5789, allocations: 0 / 448.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0008417/0.5798, allocations: 7.938 kB / 448.8 MB, free: 6.094 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.03961/0.6194, allocations: 12.27 MB / 461.1 MB, free: 9.801 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/0.6195, allocations: 12.03 kB / 461.1 MB, free: 9.789 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05272/0.6722, allocations: 9.461 MB / 470.6 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01674/0.689, allocations: 6.908 MB / 477.5 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009727/0.6901, allocations: 0.8236 MB / 478.3 MB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00513/0.6952, allocations: 1.078 MB / 479.4 MB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05466/0.7499, allocations: 18.77 MB / 498.2 MB, free: 5.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007488/0.7507, allocations: 16.92 kB / 498.2 MB, free: 5.086 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005002/0.7557, allocations: 453.7 kB / 498.6 MB, free: 4.656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008314/0.7566, allocations: 0.695 MB / 499.3 MB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04453/0.8011, allocations: 18.23 MB / 0.5054 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5255/1.327, allocations: 60.17 MB / 0.5642 GB, free: 109.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03165/1.358, allocations: 46.71 MB / 0.6098 GB, free: 69.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006998/1.365, allocations: 4.338 MB / 0.614 GB, free: 67.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02066/1.386, allocations: 12.48 MB / 0.6262 GB, free: 61.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.572e-05/1.386, allocations: 73.05 kB / 0.6263 GB, free: 61.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=391): time 5.029e-06/1.386, allocations: 0 / 0.6263 GB, free: 61.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=397): time 0.04505/1.431, allocations: 19.55 MB / 0.6454 GB, free: 50.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/1.431, allocations: 95.5 kB / 0.6455 GB, free: 50.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00656/1.438, allocations: 4.338 MB / 0.6497 GB, free: 46.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009098/1.439, allocations: 85.7 kB / 0.6498 GB, free: 46.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00269/1.442, allocations: 4.819 MB / 0.6545 GB, free: 41.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001691/1.443, allocations: 1.367 MB / 0.6558 GB, free: 39.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006926/1.444, allocations: 0.5001 MB / 0.6563 GB, free: 39.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.949e-05/1.444, allocations: 301.1 kB / 0.6566 GB, free: 39.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004414/1.448, allocations: 3.167 MB / 0.6597 GB, free: 36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00633/1.455, allocations: 5.786 MB / 0.6653 GB, free: 29.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01169/1.467, allocations: 9.534 MB / 0.6747 GB, free: 18.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001003/1.467, allocations: 24 kB / 0.6747 GB, free: 18.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.02088/1.488, allocations: 10.35 MB / 0.6848 GB, free: 8.008 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/1.488, allocations: 44 kB / 0.6848 GB, free: 7.965 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001793/1.488, allocations: 84 kB / 0.6849 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003934/1.492, allocations: 1.417 MB / 0.6863 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005732/1.498, allocations: 1.466 MB / 0.6877 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01652/1.514, allocations: 10.58 MB / 0.698 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00574/1.52, allocations: 399.3 kB / 0.6984 GB, free: 9.906 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001628/1.522, allocations: 335.9 kB / 0.6987 GB, free: 9.578 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (755): * Single equations (assignments): 750 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01084/1.532, allocations: 4.177 MB / 0.7028 GB, free: 5.387 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001821/1.534, allocations: 450.4 kB / 0.7033 GB, free: 4.941 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2701/1.804, allocations: 7.416 MB / 0.7105 GB, free: 143.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01176/1.816, allocations: 6.101 MB / 0.7165 GB, free: 142.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.93e-05/1.816, allocations: 15.44 kB / 0.7165 GB, free: 142.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.55e-05/1.816, allocations: 25.75 kB / 0.7165 GB, free: 142.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02669/1.843, allocations: 16.48 MB / 0.7326 GB, free: 136.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/1.843, allocations: 3.938 kB / 0.7326 GB, free: 136.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002789/1.846, allocations: 0.7305 MB / 0.7333 GB, free: 136.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003509/1.849, allocations: 1.244 MB / 0.7345 GB, free: 136 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003646/1.85, allocations: 93.56 kB / 0.7346 GB, free: 135.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0115/1.861, allocations: 9.312 MB / 0.7437 GB, free: 131.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.861, allocations: 0 / 0.7437 GB, free: 131.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01429/1.876, allocations: 10.67 MB / 0.7541 GB, free: 126.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002354/1.878, allocations: 1.06 MB / 0.7552 GB, free: 126.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006338/1.879, allocations: 70.53 kB / 0.7552 GB, free: 126.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002298/1.881, allocations: 260.2 kB / 0.7555 GB, free: 126.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006755/1.882, allocations: 273 kB / 0.7557 GB, free: 126.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002287/1.882, allocations: 124.2 kB / 0.7559 GB, free: 126.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003979/1.886, allocations: 2.897 MB / 0.7587 GB, free: 125.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/1.886, allocations: 0 / 0.7587 GB, free: 125.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006824/1.893, allocations: 1.851 MB / 0.7605 GB, free: 123.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (363): * Single equations (assignments): 358 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008227/1.894, allocations: 256.3 kB / 0.7607 GB, free: 123.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01155/1.905, allocations: 8.005 MB / 0.7686 GB, free: 116.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/1.905, allocations: 4 kB / 0.7686 GB, free: 116.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005657/1.911, allocations: 3.699 MB / 0.7722 GB, free: 112.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005659/1.917, allocations: 1.024 MB / 0.7732 GB, free: 111.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03964/1.956, allocations: 23.65 MB / 0.7963 GB, free: 87.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01199/1.968, allocations: 7.032 MB / 0.8031 GB, free: 80.65 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.007496/1.976, allocations: 2.244 MB / 0.8053 GB, free: 78.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001747/1.978, allocations: 367.4 kB / 0.8057 GB, free: 78.04 MB / 462.1 MB Notification: Performance of SimCode: time 2.475e-06/1.978, allocations: 7.938 kB / 0.8057 GB, free: 78.04 MB / 462.1 MB Notification: Performance of Templates: time 0.3288/2.306, allocations: 71.74 MB / 0.8757 GB, free: 135.1 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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/IMS_Characteristics/IMS_Characteristics.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches