Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_cpp_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_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001185/0.001185, allocations: 197 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 226.5 MB / 244.3 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007878/0.0007878, allocations: 101.7 kB / 296.4 MB, free: 6.777 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000234/0.0002341, allocations: 12 kB / 356.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2088, allocations: 51.29 MB / 407.5 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.01635/0.2252, allocations: 23.48 MB / 431 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01386/0.2391, allocations: 7.499 MB / 438.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004429/0.2436, allocations: 175.5 kB / 438.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005375/0.249, allocations: 1.484 MB / 440.2 MB, free: 11.08 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009517/0.2585, allocations: 2.753 MB / 442.9 MB, free: 8.324 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004432/0.263, allocations: 1.263 MB / 444.2 MB, free: 7.074 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01793/0.2809, allocations: 14.74 MB / 458.9 MB, free: 8.297 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03436/0.3153, allocations: 19.83 MB / 478.7 MB, free: 4.371 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00686/0.3222, allocations: 4.774 MB / 483.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00794/0.3302, allocations: 5.293 MB / 488.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002002/0.3322, allocations: 0.7226 MB / 489.5 MB, free: 9.547 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003635/0.3359, allocations: 1.089 MB / 490.6 MB, free: 8.457 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001852/0.3377, allocations: 2.227 MB / 492.9 MB, free: 6.223 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0031/0.3408, allocations: 2.313 MB / 495.2 MB, free: 3.898 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3607/0.7016, allocations: 20.96 MB / 0.504 GB, free: 29.14 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7016, allocations: 0 / 0.504 GB, free: 29.14 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.884e-06/0.7016, allocations: 0 / 0.504 GB, free: 29.14 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0005974/0.7022, allocations: 0.625 kB / 0.504 GB, free: 29.14 MB / 378.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.03018/0.7324, allocations: 12.28 MB / 0.516 GB, free: 25.76 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.7324, allocations: 12.56 kB / 0.516 GB, free: 25.76 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04106/0.7735, allocations: 8.476 MB / 0.5243 GB, free: 24.39 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01361/0.7872, allocations: 7.383 MB / 0.5315 GB, free: 22.49 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006312/0.7878, allocations: 0.8163 MB / 0.5323 GB, free: 22.46 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00365/0.7915, allocations: 1.061 MB / 0.5333 GB, free: 22.45 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03918/0.8307, allocations: 18.22 MB / 0.5511 GB, free: 13.59 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004143/0.8312, allocations: 15.52 kB / 0.5512 GB, free: 13.58 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003248/0.8344, allocations: 449.2 kB / 0.5516 GB, free: 13.49 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005431/0.835, allocations: 0.665 MB / 0.5522 GB, free: 12.88 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0316/0.8666, allocations: 17.46 MB / 0.5693 GB, free: 13.37 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1023/0.9689, allocations: 59.98 MB / 0.6279 GB, free: 0.7188 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03337/1.002, allocations: 37.44 MB / 0.6644 GB, free: 7.355 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007608/1.01, allocations: 4.152 MB / 0.6685 GB, free: 3.184 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006643/1.011, allocations: 283.7 kB / 0.6688 GB, free: 2.883 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/1.011, allocations: 82.64 kB / 0.6688 GB, free: 2.789 MB / 490.8 MB Notification: Performance of pre-optimization done (n=524): time 7.795e-06/1.011, allocations: 0 / 0.6688 GB, free: 2.789 MB / 490.8 MB Notification: Performance of matching and sorting (n=530): time 0.2851/1.296, allocations: 23.85 MB / 0.6921 GB, free: 185.6 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/1.296, allocations: 106.3 kB / 0.6922 GB, free: 185.6 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005661/1.302, allocations: 4.149 MB / 0.6963 GB, free: 184.2 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0007937/1.303, allocations: 109.8 kB / 0.6964 GB, free: 184.1 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.00254/1.305, allocations: 4.507 MB / 0.7008 GB, free: 180.7 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001598/1.307, allocations: 1.793 MB / 0.7025 GB, free: 179.3 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003468/1.307, allocations: 143.4 kB / 0.7027 GB, free: 179.2 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0002924/1.307, allocations: 0.5964 MB / 0.7032 GB, free: 178.8 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004827/1.312, allocations: 3.455 MB / 0.7066 GB, free: 177.5 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005699/1.318, allocations: 5.897 MB / 0.7124 GB, free: 173.1 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006934/1.325, allocations: 4.787 MB / 0.7171 GB, free: 171 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.603e-05/1.325, allocations: 19.62 kB / 0.7171 GB, free: 171 MB / 0.4949 GB Notification: Performance of matching and sorting (n=916) (initialization): time 0.01654/1.342, allocations: 10.95 MB / 0.7278 GB, free: 166.6 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 5.695e-05/1.342, allocations: 35.75 kB / 0.7278 GB, free: 166.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001202/1.342, allocations: 81.08 kB / 0.7279 GB, free: 166.6 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003108/1.345, allocations: 1.411 MB / 0.7293 GB, free: 165.6 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005325/1.35, allocations: 1.617 MB / 0.7308 GB, free: 164.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/1.363, allocations: 10.57 MB / 0.7412 GB, free: 155 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004854/1.368, allocations: 412.6 kB / 0.7415 GB, free: 154.7 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007635/1.368, allocations: 335.2 kB / 0.7419 GB, free: 154.4 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (843): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006223/1.375, allocations: 4.164 MB / 0.7459 GB, free: 150.8 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009601/1.376, allocations: 478 kB / 0.7464 GB, free: 150.3 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/1.387, allocations: 8.532 MB / 0.7547 GB, free: 141.7 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009224/1.397, allocations: 7.109 MB / 0.7617 GB, free: 134.5 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/1.397, allocations: 15.95 kB / 0.7617 GB, free: 134.5 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.51e-05/1.397, allocations: 27.89 kB / 0.7617 GB, free: 134.5 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02578/1.423, allocations: 19.39 MB / 0.7806 GB, free: 114.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/1.423, allocations: 4 kB / 0.7806 GB, free: 114.8 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00331/1.426, allocations: 0.9362 MB / 0.7816 GB, free: 113.9 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002927/1.429, allocations: 1.258 MB / 0.7828 GB, free: 112.6 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000341/1.429, allocations: 112 kB / 0.7829 GB, free: 112.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0107/1.44, allocations: 9.306 MB / 0.792 GB, free: 103.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.44, allocations: 8 kB / 0.792 GB, free: 103.1 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01506/1.455, allocations: 12.33 MB / 0.804 GB, free: 90.54 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002568/1.458, allocations: 1.174 MB / 0.8052 GB, free: 89.34 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007394/1.458, allocations: 92 kB / 0.8053 GB, free: 89.25 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002365/1.461, allocations: 283.8 kB / 0.8055 GB, free: 88.98 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005916/1.461, allocations: 348.4 kB / 0.8059 GB, free: 88.63 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002768/1.462, allocations: 152 kB / 0.806 GB, free: 88.48 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.00363/1.465, allocations: 2.788 MB / 0.8087 GB, free: 85.69 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.81e-07/1.465, allocations: 0 / 0.8087 GB, free: 85.69 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.006735/1.472, allocations: 1.943 MB / 0.8106 GB, free: 83.75 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.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 (502): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.3%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008436/1.473, allocations: 313 kB / 0.8109 GB, free: 83.45 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01295/1.486, allocations: 8.75 MB / 0.8195 GB, free: 74.63 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.486, allocations: 4 kB / 0.8195 GB, free: 74.62 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005996/1.492, allocations: 4.222 MB / 0.8236 GB, free: 70.39 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005063/1.497, allocations: 1.094 MB / 0.8247 GB, free: 69.31 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03143/1.528, allocations: 22.79 MB / 0.8469 GB, free: 46.42 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006145/1.535, allocations: 6.803 MB / 0.8536 GB, free: 39.57 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002122/1.537, allocations: 463.3 kB / 0.854 GB, free: 39.12 MB / 0.4949 GB Notification: Performance of SimCode: time 1.032e-06/1.537, allocations: 0 / 0.854 GB, free: 39.12 MB / 0.4949 GB Notification: Performance of Templates: time 0.4007/1.938, allocations: 180.7 MB / 1.03 GB, free: 23.7 MB / 0.4949 GB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches