Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001715/0.001715, allocations: 112.6 kB / 18.45 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.001948/0.001948, allocations: 207.9 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.175/2.175, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 60.08 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3748, allocations: 50.54 MB / 410 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02234/0.3972, allocations: 24.79 MB / 434.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01321/0.4105, allocations: 7.45 MB / 442.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004144/0.4147, allocations: 187.4 kB / 442.4 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01715/0.4319, allocations: 8.796 MB / 451.2 MB, free: 8.238 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008144/0.44, allocations: 2.906 MB / 454.1 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004396/0.4444, allocations: 1.731 MB / 455.8 MB, free: 3.598 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01128/0.4557, allocations: 10.81 MB / 466.6 MB, free: 8.754 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02696/0.4827, allocations: 21.84 MB / 488.5 MB, free: 2.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007122/0.4899, allocations: 5.74 MB / 494.2 MB, free: 13.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008486/0.4984, allocations: 6.281 MB / 0.4887 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003736/0.5022, allocations: 1.668 MB / 0.4904 GB, free: 5.055 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005067/0.5072, allocations: 2.054 MB / 0.4924 GB, free: 3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004078/0.5113, allocations: 3.153 MB / 0.4955 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008222/0.5196, allocations: 6.098 MB / 0.5014 GB, free: 9.719 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02028/0.5399, allocations: 22.35 MB / 0.5232 GB, free: 3.309 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.5399, allocations: 0 / 0.5232 GB, free: 3.309 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5399, allocations: 0 / 0.5232 GB, free: 3.309 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004805/0.5404, allocations: 0 / 0.5232 GB, free: 3.309 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.0479/0.5883, allocations: 12.74 MB / 0.5357 GB, free: 6.465 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.312e-05/0.5884, allocations: 12.02 kB / 0.5357 GB, free: 6.453 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07154/0.66, allocations: 6.224 MB / 0.5418 GB, free: 216 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 1.012/1.672, allocations: 6.903 MB / 0.5485 GB, free: 106.7 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005131/1.672, allocations: 0.7016 MB / 0.5492 GB, free: 106.4 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003583/1.676, allocations: 0.9194 MB / 0.5501 GB, free: 106.1 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03246/1.708, allocations: 15.74 MB / 0.5655 GB, free: 98.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002015/1.709, allocations: 15.66 kB / 0.5655 GB, free: 98.85 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001071/1.71, allocations: 388 kB / 0.5659 GB, free: 98.56 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004015/1.71, allocations: 0.5596 MB / 0.5664 GB, free: 98.28 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02376/1.734, allocations: 14.77 MB / 0.5808 GB, free: 83.49 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07895/1.813, allocations: 52.04 MB / 0.6316 GB, free: 30.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01941/1.832, allocations: 26.47 MB / 0.6575 GB, free: 0.793 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005706/1.838, allocations: 3.206 MB / 0.6606 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006476/1.839, allocations: 252.4 kB / 0.6609 GB, free: 13.32 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.579e-05/1.839, allocations: 81.56 kB / 0.6609 GB, free: 13.23 MB / 478.1 MB Notification: Performance of pre-optimization done (n=398): time 7.404e-06/1.839, allocations: 0 / 0.6609 GB, free: 13.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=404): time 0.04892/1.888, allocations: 17.29 MB / 0.6778 GB, free: 11.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.796e-05/1.888, allocations: 98.52 kB / 0.6779 GB, free: 11.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008261/1.896, allocations: 3.692 MB / 0.6815 GB, free: 8.059 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008832/1.897, allocations: 89.7 kB / 0.6816 GB, free: 7.965 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004108/1.901, allocations: 3.979 MB / 0.6855 GB, free: 3.957 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002172/1.903, allocations: 1.383 MB / 0.6868 GB, free: 2.586 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003803/1.907, allocations: 1.136 MB / 0.688 GB, free: 1.438 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/1.907, allocations: 301.1 kB / 0.6882 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005239/1.913, allocations: 2.799 MB / 0.691 GB, free: 14.34 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007033/1.92, allocations: 4.961 MB / 0.6958 GB, free: 8.379 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01413/1.934, allocations: 8.307 MB / 0.7039 GB, free: 15.07 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.038e-05/1.934, allocations: 20 kB / 0.704 GB, free: 15.05 MB / 0.5138 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01999/1.954, allocations: 9.096 MB / 0.7128 GB, free: 5.938 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 9.644e-05/1.954, allocations: 36 kB / 0.7129 GB, free: 5.902 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001684/1.954, allocations: 68 kB / 0.7129 GB, free: 5.836 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003792/1.958, allocations: 1.231 MB / 0.7141 GB, free: 4.598 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005258/1.963, allocations: 1.322 MB / 0.7154 GB, free: 3.273 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01612/1.98, allocations: 9.919 MB / 0.7251 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006005/1.986, allocations: 331.4 kB / 0.7254 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001456/1.987, allocations: 284 kB / 0.7257 GB, free: 8.629 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007636/1.995, allocations: 3.708 MB / 0.7293 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001438/1.996, allocations: 399.1 kB / 0.7297 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0137/2.01, allocations: 6.697 MB / 0.7362 GB, free: 13.78 MB / 0.5451 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009662/2.02, allocations: 5.599 MB / 0.7417 GB, free: 8.156 MB / 0.5451 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.465e-05/2.02, allocations: 12 kB / 0.7417 GB, free: 8.145 MB / 0.5451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-05/2.02, allocations: 23.91 kB / 0.7417 GB, free: 8.121 MB / 0.5451 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3066/2.326, allocations: 15.75 MB / 0.7571 GB, free: 183 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/2.326, allocations: 12.19 kB / 0.7571 GB, free: 183 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002552/2.329, allocations: 0.7176 MB / 0.7578 GB, free: 183 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002889/2.332, allocations: 1.114 MB / 0.7589 GB, free: 182.8 MB / 0.5451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003356/2.332, allocations: 100.6 kB / 0.759 GB, free: 182.7 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/2.344, allocations: 8.833 MB / 0.7676 GB, free: 177.9 MB / 0.5451 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/2.344, allocations: 7.875 kB / 0.7677 GB, free: 177.9 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02028/2.364, allocations: 9.847 MB / 0.7773 GB, free: 173.8 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003759/2.368, allocations: 0.9562 MB / 0.7782 GB, free: 173.5 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001083/2.369, allocations: 78.83 kB / 0.7783 GB, free: 173.4 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002694/2.372, allocations: 204.5 kB / 0.7785 GB, free: 173.3 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005613/2.372, allocations: 281.8 kB / 0.7787 GB, free: 173.3 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002151/2.372, allocations: 124.1 kB / 0.7789 GB, free: 173.3 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.003184/2.375, allocations: 2.493 MB / 0.7813 GB, free: 172.3 MB / 0.5451 GB Notification: Performance of sort global known variables: time 1.7e-07/2.376, allocations: 0 / 0.7813 GB, free: 172.3 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.004865/2.38, allocations: 1.609 MB / 0.7829 GB, free: 172.2 MB / 0.5451 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (389): * Single equations (assignments): 387 * 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,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005136/2.381, allocations: 282.2 kB / 0.7831 GB, free: 172 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.009624/2.391, allocations: 7.14 MB / 0.7901 GB, free: 167.3 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/2.391, allocations: 0 / 0.7901 GB, free: 167.3 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.004665/2.395, allocations: 3.391 MB / 0.7934 GB, free: 164.3 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00445/2.4, allocations: 0.9843 MB / 0.7944 GB, free: 163.6 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02359/2.423, allocations: 16.14 MB / 0.8101 GB, free: 148.8 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005126/2.428, allocations: 6.004 MB / 0.816 GB, free: 143.4 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00162/2.43, allocations: 383.4 kB / 0.8164 GB, free: 143 MB / 0.5451 GB Notification: Performance of SimCode: time 7.62e-07/2.43, allocations: 0 / 0.8164 GB, free: 143 MB / 0.5451 GB Notification: Performance of Templates: time 0.7197/3.15, allocations: 159.7 MB / 0.9723 GB, free: 170.8 MB / 0.5451 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches