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.0007916/0.0007915, allocations: 91.48 kB / 17.35 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009038/0.000904, allocations: 200.1 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.7 MB / 246.8 MB, free: 11.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003132, allocations: 4 kB / 307.8 MB, free: 0.7578 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1255, allocations: 51.53 MB / 359.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1908/0.3163, allocations: 23.26 MB / 382.6 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01311/0.3295, allocations: 7.322 MB / 389.9 MB, free: 4.715 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004072/0.3336, allocations: 175.2 kB / 390.1 MB, free: 4.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004921/0.3385, allocations: 1.792 MB / 391.8 MB, free: 3.879 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009527/0.3481, allocations: 2.657 MB / 394.5 MB, free: 2.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00435/0.3524, allocations: 1.521 MB / 396 MB, free: 1.242 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01523/0.3677, allocations: 10.72 MB / 406.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03563/0.4033, allocations: 22.13 MB / 428.9 MB, free: 6.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006475/0.4098, allocations: 4.029 MB / 432.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008126/0.418, allocations: 4.773 MB / 437.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0022/0.4202, allocations: 0.6445 MB / 438.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004783/0.425, allocations: 1.027 MB / 439.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002396/0.4274, allocations: 1.942 MB / 441.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008885/0.4363, allocations: 4.772 MB / 446.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01998/0.4563, allocations: 21.01 MB / 467.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4564, allocations: 0 / 467.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4564, allocations: 7.938 kB / 467.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004452/0.4568, allocations: 0 / 467.1 MB, free: 15.87 MB / 382.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.02902/0.4859, allocations: 10.71 MB / 477.8 MB, free: 5.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.4859, allocations: 12.02 kB / 477.8 MB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03749/0.5234, allocations: 6.189 MB / 484 MB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0131/0.5365, allocations: 6.753 MB / 490.7 MB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007654/0.5373, allocations: 0.7025 MB / 491.4 MB, free: 7.336 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003309/0.5407, allocations: 0.9256 MB / 492.4 MB, free: 6.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03883/0.5795, allocations: 15.76 MB / 0.4962 GB, free: 6.582 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004685/0.58, allocations: 19.89 kB / 0.4962 GB, free: 6.562 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002839/0.5829, allocations: 395.9 kB / 0.4966 GB, free: 6.176 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006313/0.5835, allocations: 0.5509 MB / 0.4972 GB, free: 5.621 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03251/0.616, allocations: 14.78 MB / 0.5116 GB, free: 6.812 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.436/1.052, allocations: 52.79 MB / 0.5631 GB, free: 103.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01879/1.071, allocations: 26.46 MB / 0.589 GB, free: 79.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004569/1.076, allocations: 3.262 MB / 0.5922 GB, free: 77.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003256/1.076, allocations: 247.7 kB / 0.5924 GB, free: 77.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/1.076, allocations: 77.02 kB / 0.5925 GB, free: 77.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=404): time 5.561e-06/1.076, allocations: 0 / 0.5925 GB, free: 77.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=410): time 0.03326/1.109, allocations: 17.36 MB / 0.6094 GB, free: 67.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/1.109, allocations: 93.47 kB / 0.6095 GB, free: 67.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00443/1.114, allocations: 3.694 MB / 0.6131 GB, free: 65.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004136/1.114, allocations: 92.64 kB / 0.6132 GB, free: 65.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001596/1.116, allocations: 3.977 MB / 0.6171 GB, free: 61.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00103/1.117, allocations: 1.393 MB / 0.6185 GB, free: 59.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005337/1.117, allocations: 470.8 kB / 0.6189 GB, free: 59.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.791e-05/1.117, allocations: 309.1 kB / 0.6192 GB, free: 59.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003506/1.121, allocations: 2.834 MB / 0.622 GB, free: 56.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004218/1.125, allocations: 5.004 MB / 0.6269 GB, free: 50.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009318/1.134, allocations: 8.397 MB / 0.6351 GB, free: 40.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.474e-05/1.135, allocations: 20 kB / 0.6351 GB, free: 40.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01471/1.149, allocations: 9.167 MB / 0.644 GB, free: 31.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.644e-05/1.149, allocations: 32 kB / 0.6441 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-05/1.149, allocations: 72 kB / 0.6441 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003237/1.153, allocations: 1.196 MB / 0.6453 GB, free: 30.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00475/1.157, allocations: 1.322 MB / 0.6466 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/1.169, allocations: 9.135 MB / 0.6555 GB, free: 19.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00406/1.174, allocations: 339.4 kB / 0.6558 GB, free: 19.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005331/1.174, allocations: 284 kB / 0.6561 GB, free: 19.2 MB / 446.1 MB 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 (697): * Single equations (assignments): 692 * 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,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004949/1.179, allocations: 3.712 MB / 0.6597 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007076/1.18, allocations: 407 kB / 0.6601 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01024/1.19, allocations: 6.77 MB / 0.6667 GB, free: 8.266 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008099/1.198, allocations: 5.666 MB / 0.6723 GB, free: 2.574 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.929e-05/1.198, allocations: 11.94 kB / 0.6723 GB, free: 2.562 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.581e-05/1.198, allocations: 23.91 kB / 0.6723 GB, free: 2.539 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02645/1.225, allocations: 16.19 MB / 0.6881 GB, free: 2.164 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/1.225, allocations: 4.594 kB / 0.6881 GB, free: 2.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002997/1.228, allocations: 0.7333 MB / 0.6888 GB, free: 1.426 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003011/1.231, allocations: 1.074 MB / 0.6899 GB, free: 352 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004035/1.231, allocations: 87.98 kB / 0.69 GB, free: 264 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01259/1.244, allocations: 8.083 MB / 0.6979 GB, free: 8.059 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.169e-05/1.244, allocations: 11.88 kB / 0.6979 GB, free: 8.047 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01541/1.259, allocations: 9.954 MB / 0.7076 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002359/1.262, allocations: 0.976 MB / 0.7085 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006926/1.262, allocations: 76 kB / 0.7086 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002125/1.265, allocations: 207.9 kB / 0.7088 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006121/1.265, allocations: 291.3 kB / 0.7091 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002331/1.265, allocations: 128 kB / 0.7092 GB, free: 12.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003858/1.269, allocations: 2.491 MB / 0.7116 GB, free: 9.816 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.21e-07/1.269, allocations: 0 / 0.7116 GB, free: 9.816 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005881/1.275, allocations: 1.615 MB / 0.7132 GB, free: 8.207 MB / 494.1 MB 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 (392): * Single equations (assignments): 387 * 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,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.0007943/1.276, allocations: 287.6 kB / 0.7135 GB, free: 7.926 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01237/1.288, allocations: 7.198 MB / 0.7205 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/1.288, allocations: 4 kB / 0.7205 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1931/1.482, allocations: 3.418 MB / 0.7239 GB, free: 165.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006703/1.488, allocations: 0.9321 MB / 0.7248 GB, free: 165.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02983/1.518, allocations: 20.64 MB / 0.7449 GB, free: 156.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00579/1.524, allocations: 6.194 MB / 0.751 GB, free: 153.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005044/1.529, allocations: 1.92 MB / 0.7529 GB, free: 153.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008774/1.53, allocations: 346.6 kB / 0.7532 GB, free: 153.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.222e-06/1.53, allocations: 0 / 0.7532 GB, free: 153.4 MB / 494.1 MB Notification: Performance of Templates: time 0.09002/1.62, allocations: 65.94 MB / 0.8176 GB, free: 96.46 MB / 494.1 MB 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/jenkins/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/jenkins/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