Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001094/0.001094, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 247.5 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 58.56 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09027/0.0915, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1718/0.2634, allocations: 26.99 MB / 385.9 MB, free: 6.402 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01684/0.2803, allocations: 8.164 MB / 394.1 MB, free: 1.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00653/0.2869, allocations: 201.4 kB / 394.3 MB, free: 1.141 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02046/0.3074, allocations: 9.364 MB / 403.6 MB, free: 11.1 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01114/0.3185, allocations: 3.316 MB / 407 MB, free: 8.465 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005918/0.3245, allocations: 1.816 MB / 408.8 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02015/0.3446, allocations: 12.25 MB / 421 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03104/0.3757, allocations: 24.39 MB / 445.4 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008595/0.3844, allocations: 6.456 MB / 451.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01028/0.3947, allocations: 7.207 MB / 459.1 MB, free: 7.441 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003602/0.3983, allocations: 1.84 MB / 460.9 MB, free: 5.602 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005683/0.404, allocations: 2.218 MB / 463.1 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00346/0.4075, allocations: 3.616 MB / 466.8 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008879/0.4164, allocations: 6.923 MB / 473.7 MB, free: 8.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02279/0.4392, allocations: 24.75 MB / 498.4 MB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4392, allocations: 4 kB / 498.4 MB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4392, allocations: 0 / 498.4 MB, free: 15.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004613/0.4397, allocations: 0 / 498.4 MB, free: 15.98 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.04048/0.4802, allocations: 14.51 MB / 0.5009 GB, free: 1.371 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.4802, allocations: 8.031 kB / 0.5009 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04763/0.5279, allocations: 8.5 MB / 0.5092 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01684/0.5447, allocations: 7.64 MB / 0.5167 GB, free: 1.113 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008406/0.5456, allocations: 0.8068 MB / 0.5175 GB, free: 312 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003965/0.5496, allocations: 1.066 MB / 0.5185 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3475/0.8971, allocations: 18.28 MB / 0.5364 GB, free: 120.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006475/0.8978, allocations: 16.58 kB / 0.5364 GB, free: 120.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00369/0.9015, allocations: 449.5 kB / 0.5368 GB, free: 120.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001362/0.9029, allocations: 0.6698 MB / 0.5375 GB, free: 120.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03814/0.9411, allocations: 17.54 MB / 0.5546 GB, free: 114.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1183/1.059, allocations: 59.2 MB / 0.6124 GB, free: 67.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02265/1.082, allocations: 37.46 MB / 0.649 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005033/1.087, allocations: 4.119 MB / 0.653 GB, free: 22.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000473/1.088, allocations: 276.7 kB / 0.6533 GB, free: 21.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.251e-05/1.088, allocations: 94.61 kB / 0.6534 GB, free: 21.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=518): time 6.813e-06/1.088, allocations: 3.938 kB / 0.6534 GB, free: 21.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=524): time 0.04004/1.128, allocations: 21.43 MB / 0.6743 GB, free: 28 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/1.128, allocations: 107.5 kB / 0.6744 GB, free: 15.91 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006599/1.134, allocations: 4.183 MB / 0.6785 GB, free: 11.69 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006509/1.135, allocations: 113.7 kB / 0.6786 GB, free: 11.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002731/1.138, allocations: 4.504 MB / 0.683 GB, free: 7.043 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001771/1.14, allocations: 1.781 MB / 0.6847 GB, free: 5.277 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002633/1.142, allocations: 1.347 MB / 0.6861 GB, free: 3.922 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.984e-05/1.142, allocations: 305.1 kB / 0.6863 GB, free: 3.621 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005242/1.148, allocations: 3.441 MB / 0.6897 GB, free: 180 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006909/1.155, allocations: 5.883 MB / 0.6954 GB, free: 9.199 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01318/1.168, allocations: 10.02 MB / 0.7052 GB, free: 14.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.388e-05/1.168, allocations: 24 kB / 0.7053 GB, free: 13.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01979/1.188, allocations: 10.94 MB / 0.7159 GB, free: 2.961 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.679e-05/1.188, allocations: 36.38 kB / 0.716 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001151/1.188, allocations: 84 kB / 0.7161 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00388/1.192, allocations: 1.437 MB / 0.7175 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2207/1.412, allocations: 1.616 MB / 0.719 GB, free: 156.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01799/1.431, allocations: 11.47 MB / 0.7302 GB, free: 152.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005749/1.436, allocations: 412.1 kB / 0.7306 GB, free: 152.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009185/1.437, allocations: 334 kB / 0.731 GB, free: 152.6 MB / 494.1 MB 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 (840): * Single equations (assignments): 838 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007082/1.444, allocations: 4.169 MB / 0.735 GB, free: 150.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/1.445, allocations: 478.6 kB / 0.7355 GB, free: 150.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/1.459, allocations: 8.482 MB / 0.7438 GB, free: 147.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009756/1.468, allocations: 7.074 MB / 0.7507 GB, free: 144.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/1.468, allocations: 11.53 kB / 0.7507 GB, free: 144.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.99e-05/1.468, allocations: 34.55 kB / 0.7507 GB, free: 144.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0271/1.496, allocations: 18.76 MB / 0.769 GB, free: 137.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/1.496, allocations: 3.375 kB / 0.769 GB, free: 137.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003256/1.499, allocations: 0.9352 MB / 0.77 GB, free: 137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003137/1.502, allocations: 1.297 MB / 0.7712 GB, free: 136.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003157/1.502, allocations: 111.5 kB / 0.7713 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01186/1.514, allocations: 10.18 MB / 0.7813 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.514, allocations: 7.938 kB / 0.7813 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01552/1.53, allocations: 12.27 MB / 0.7933 GB, free: 115.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002774/1.533, allocations: 1.155 MB / 0.7944 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009938/1.534, allocations: 92 kB / 0.7945 GB, free: 114 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002768/1.536, allocations: 280.7 kB / 0.7947 GB, free: 113.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007034/1.537, allocations: 348.4 kB / 0.7951 GB, free: 113.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003274/1.537, allocations: 152 kB / 0.7952 GB, free: 113.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004311/1.542, allocations: 2.819 MB / 0.798 GB, free: 110.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.01e-07/1.542, allocations: 0 / 0.798 GB, free: 110.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006138/1.548, allocations: 1.934 MB / 0.7999 GB, free: 108.5 MB / 494.1 MB 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 (499): * Single equations (assignments): 497 * 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,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.000613/1.549, allocations: 296.7 kB / 0.8001 GB, free: 108.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0122/1.561, allocations: 8.739 MB / 0.8087 GB, free: 99.39 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.561, allocations: 0.5 kB / 0.8087 GB, free: 99.39 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006251/1.567, allocations: 4.198 MB / 0.8128 GB, free: 95.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005473/1.573, allocations: 1.137 MB / 0.8139 GB, free: 94.08 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03138/1.604, allocations: 19.2 MB / 0.8326 GB, free: 74.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009725/1.614, allocations: 7.009 MB / 0.8395 GB, free: 67.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005383/1.619, allocations: 2.321 MB / 0.8417 GB, free: 65.42 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/1.62, allocations: 419.4 kB / 0.8421 GB, free: 65.01 MB / 494.1 MB Notification: Performance of SimCode: time 1.102e-06/1.62, allocations: 0 / 0.8421 GB, free: 65.01 MB / 494.1 MB Notification: Performance of Templates: time 0.287/1.907, allocations: 76.38 MB / 0.9167 GB, free: 147.2 MB / 494.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches