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.001174/0.001179, allocations: 110 kB / 18.35 MB, free: 4.84 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.001134/0.001134, allocations: 183.1 kB / 19.29 MB, free: 3.918 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.396/1.396, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001246/0.001246, allocations: 55.92 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09641/0.09767, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.2307/0.3284, allocations: 24.89 MB / 400.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01836/0.3468, allocations: 7.354 MB / 408 MB, free: 8.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0071/0.354, allocations: 157.5 kB / 408.2 MB, free: 8.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02148/0.3755, allocations: 8.791 MB / 417 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01327/0.3888, allocations: 2.975 MB / 419.9 MB, free: 104 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0068/0.3957, allocations: 1.731 MB / 421.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01698/0.4127, allocations: 10.87 MB / 432.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03298/0.4457, allocations: 21.87 MB / 454.4 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01146/0.4572, allocations: 5.786 MB / 460.2 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01392/0.4712, allocations: 6.343 MB / 466.5 MB, free: 4.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005812/0.4771, allocations: 1.684 MB / 468.2 MB, free: 3.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008651/0.4858, allocations: 2.031 MB / 470.3 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006447/0.4923, allocations: 3.227 MB / 473.5 MB, free: 13.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01464/0.507, allocations: 6.168 MB / 479.7 MB, free: 7.562 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03356/0.5406, allocations: 22.38 MB / 0.4903 GB, free: 1.125 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.5406, allocations: 3.938 kB / 0.4903 GB, free: 1.121 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5406, allocations: 0 / 0.4903 GB, free: 1.121 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006786/0.5413, allocations: 0 / 0.4903 GB, free: 1.121 MB / 414.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.04735/0.5887, allocations: 12.9 MB / 0.5029 GB, free: 4.125 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/0.5888, allocations: 12.03 kB / 0.5029 GB, free: 4.113 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04134/0.6301, allocations: 7.187 MB / 0.5099 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01549/0.6456, allocations: 6.168 MB / 0.5159 GB, free: 6.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000856/0.6465, allocations: 0.7105 MB / 0.5166 GB, free: 5.969 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005102/0.6517, allocations: 0.9373 MB / 0.5175 GB, free: 5.031 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04781/0.6995, allocations: 16.2 MB / 0.5334 GB, free: 4.766 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003636/0.6999, allocations: 15.89 kB / 0.5334 GB, free: 4.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004907/0.7048, allocations: 396 kB / 0.5337 GB, free: 4.363 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008333/0.7057, allocations: 0.5786 MB / 0.5343 GB, free: 3.781 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03982/0.7455, allocations: 15.46 MB / 0.5494 GB, free: 4.293 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3487/1.094, allocations: 52.24 MB / 0.6004 GB, free: 107.7 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02362/1.118, allocations: 35.5 MB / 0.6351 GB, free: 72.91 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004973/1.123, allocations: 3.39 MB / 0.6384 GB, free: 71.14 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01515/1.138, allocations: 10.05 MB / 0.6482 GB, free: 62.95 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.542e-05/1.138, allocations: 64.89 kB / 0.6483 GB, free: 62.88 MB / 478.1 MB Notification: Performance of pre-optimization done (n=297): time 7.273e-06/1.138, allocations: 0 / 0.6483 GB, free: 62.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=303): time 0.04853/1.187, allocations: 15.35 MB / 0.6633 GB, free: 47.38 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/1.187, allocations: 81.78 kB / 0.6633 GB, free: 47.29 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006683/1.194, allocations: 3.86 MB / 0.6671 GB, free: 43.44 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006508/1.194, allocations: 77.7 kB / 0.6672 GB, free: 43.36 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002014/1.196, allocations: 4.254 MB / 0.6713 GB, free: 39.07 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001155/1.198, allocations: 1.058 MB / 0.6724 GB, free: 38.03 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001455/1.199, allocations: 1.095 MB / 0.6734 GB, free: 36.92 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.008e-05/1.199, allocations: 301.1 kB / 0.6737 GB, free: 36.62 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003243/1.202, allocations: 2.552 MB / 0.6762 GB, free: 34.07 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00411/1.206, allocations: 4.92 MB / 0.681 GB, free: 28.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007929/1.214, allocations: 7.942 MB / 0.6888 GB, free: 18.94 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.103e-05/1.214, allocations: 20 kB / 0.6888 GB, free: 18.92 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01539/1.23, allocations: 8.643 MB / 0.6972 GB, free: 10.24 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/1.23, allocations: 44.09 kB / 0.6973 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001405/1.23, allocations: 80 kB / 0.6974 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003324/1.233, allocations: 1.237 MB / 0.6986 GB, free: 8.879 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004399/1.238, allocations: 1.224 MB / 0.6998 GB, free: 7.652 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01449/1.252, allocations: 9.954 MB / 0.7095 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00506/1.258, allocations: 331.4 kB / 0.7098 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001256/1.259, allocations: 288 kB / 0.7101 GB, free: 12.95 MB / 494.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 (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.009049/1.268, allocations: 3.736 MB / 0.7137 GB, free: 9.199 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001567/1.269, allocations: 379.3 kB / 0.7141 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01488/1.284, allocations: 5.807 MB / 0.7198 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01059/1.295, allocations: 4.764 MB / 0.7244 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.52e-05/1.295, allocations: 8 kB / 0.7244 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.337e-05/1.295, allocations: 19.94 kB / 0.7244 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03547/1.331, allocations: 13.7 MB / 0.7378 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.27e-05/1.331, allocations: 4 kB / 0.7378 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002991/1.334, allocations: 0.5659 MB / 0.7384 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003704/1.337, allocations: 1.109 MB / 0.7395 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007932/1.338, allocations: 71.92 kB / 0.7395 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0158/1.354, allocations: 8.835 MB / 0.7481 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/1.354, allocations: 4 kB / 0.7482 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2847/1.639, allocations: 8.497 MB / 0.7564 GB, free: 173.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00291/1.642, allocations: 0.8664 MB / 0.7573 GB, free: 173.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001427/1.643, allocations: 58.34 kB / 0.7574 GB, free: 173.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003538/1.647, allocations: 186.8 kB / 0.7575 GB, free: 173.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008501/1.648, allocations: 224.9 kB / 0.7577 GB, free: 173.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002851/1.648, allocations: 96.28 kB / 0.7578 GB, free: 173.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005802/1.654, allocations: 2.586 MB / 0.7604 GB, free: 173.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.61e-07/1.654, allocations: 0 / 0.7604 GB, free: 173.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008448/1.662, allocations: 1.549 MB / 0.7619 GB, free: 173.4 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.001323/1.664, allocations: 249.5 kB / 0.7621 GB, free: 173.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01411/1.678, allocations: 6.53 MB / 0.7685 GB, free: 170.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/1.678, allocations: 0 / 0.7685 GB, free: 170.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007771/1.686, allocations: 2.967 MB / 0.7714 GB, free: 169.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005683/1.691, allocations: 0.9506 MB / 0.7723 GB, free: 169.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03209/1.723, allocations: 15.81 MB / 0.7878 GB, free: 162.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006818/1.73, allocations: 6.033 MB / 0.7936 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001585/1.732, allocations: 364.8 kB / 0.794 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.232e-06/1.732, allocations: 1.531 kB / 0.794 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.4321/2.164, allocations: 156.7 MB / 0.947 GB, free: 160 MB / 0.5137 GB 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/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) Reference file matches