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.001106/0.001106, allocations: 112.9 kB / 18.41 MB, free: 4.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001306/0.001306, allocations: 200.6 kB / 19.35 MB, free: 3.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 247.5 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 60.81 kB / 308.4 MB, free: 15.82 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1134, allocations: 50.52 MB / 358.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.2074/0.3208, allocations: 24.8 MB / 383.7 MB, free: 7.457 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01643/0.3373, allocations: 7.451 MB / 391.2 MB, free: 2.867 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006953/0.3442, allocations: 186.9 kB / 391.4 MB, free: 2.832 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0203/0.3646, allocations: 8.795 MB / 400.2 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01212/0.3768, allocations: 2.91 MB / 403.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006184/0.383, allocations: 1.724 MB / 404.8 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01698/0.4, allocations: 10.83 MB / 415.6 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03488/0.4349, allocations: 21.84 MB / 437.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01211/0.4471, allocations: 5.72 MB / 443.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01176/0.4589, allocations: 6.277 MB / 449.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005192/0.4641, allocations: 1.672 MB / 451.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008024/0.4722, allocations: 2.046 MB / 453.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006215/0.4784, allocations: 3.164 MB / 456.3 MB, free: 9.883 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01435/0.4928, allocations: 6.09 MB / 462.4 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02821/0.5211, allocations: 22.34 MB / 484.8 MB, free: 13.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.5211, allocations: 3.938 kB / 484.8 MB, free: 13.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5211, allocations: 4 kB / 484.8 MB, free: 13.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0008097/0.5219, allocations: 0 / 484.8 MB, free: 13.36 MB / 398.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.05101/0.573, allocations: 12.74 MB / 497.5 MB, free: 0.5234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.447e-05/0.5731, allocations: 15.97 kB / 497.5 MB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03594/0.609, allocations: 6.212 MB / 0.4919 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0164/0.6255, allocations: 6.913 MB / 0.4987 GB, free: 3.305 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007113/0.6263, allocations: 0.6985 MB / 0.4994 GB, free: 2.605 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004272/0.6305, allocations: 0.9217 MB / 0.5003 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03877/0.6693, allocations: 15.74 MB / 0.5156 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002787/0.6696, allocations: 11.84 kB / 0.5157 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002358/0.672, allocations: 392 kB / 0.516 GB, free: 1.477 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005585/0.6726, allocations: 0.5508 MB / 0.5166 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03262/0.7052, allocations: 14.77 MB / 0.531 GB, free: 2.129 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5208/1.226, allocations: 52.04 MB / 0.5818 GB, free: 94.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01919/1.245, allocations: 26.46 MB / 0.6076 GB, free: 69.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0048/1.25, allocations: 3.219 MB / 0.6108 GB, free: 67.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000397/1.251, allocations: 247.4 kB / 0.611 GB, free: 67.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.061e-05/1.251, allocations: 77.16 kB / 0.6111 GB, free: 67.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=398): time 5.901e-06/1.251, allocations: 3.781 kB / 0.6111 GB, free: 67.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=404): time 0.03437/1.285, allocations: 17.3 MB / 0.628 GB, free: 51.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/1.285, allocations: 90.58 kB / 0.6281 GB, free: 51.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005976/1.291, allocations: 3.696 MB / 0.6317 GB, free: 47.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005901/1.292, allocations: 93.7 kB / 0.6318 GB, free: 47.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001935/1.294, allocations: 3.98 MB / 0.6357 GB, free: 43.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001196/1.295, allocations: 1.381 MB / 0.637 GB, free: 42.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001494/1.296, allocations: 1.14 MB / 0.6381 GB, free: 40.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.499e-05/1.296, allocations: 301.1 kB / 0.6384 GB, free: 40.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003497/1.3, allocations: 2.799 MB / 0.6411 GB, free: 37.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004272/1.304, allocations: 4.957 MB / 0.646 GB, free: 31.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00865/1.313, allocations: 8.31 MB / 0.6541 GB, free: 22.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.942e-05/1.313, allocations: 20 kB / 0.6541 GB, free: 22.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01427/1.327, allocations: 9.092 MB / 0.663 GB, free: 13.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.817e-05/1.327, allocations: 36 kB / 0.663 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001091/1.328, allocations: 68 kB / 0.6631 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003122/1.331, allocations: 1.234 MB / 0.6643 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004481/1.335, allocations: 1.326 MB / 0.6656 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/1.348, allocations: 9.909 MB / 0.6753 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004623/1.352, allocations: 327.4 kB / 0.6756 GB, free: 388 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001159/1.353, allocations: 284 kB / 0.6759 GB, free: 104 kB / 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 (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.006712/1.36, allocations: 3.71 MB / 0.6795 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/1.361, allocations: 399.1 kB / 0.6799 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01149/1.373, allocations: 6.697 MB / 0.6864 GB, free: 5.25 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009026/1.382, allocations: 5.595 MB / 0.6919 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.292e-05/1.382, allocations: 12 kB / 0.6919 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.577e-05/1.382, allocations: 19.92 kB / 0.6919 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2823/1.664, allocations: 15.77 MB / 0.7073 GB, free: 146.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.757e-05/1.664, allocations: 4.844 kB / 0.7073 GB, free: 146.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003558/1.668, allocations: 0.722 MB / 0.708 GB, free: 146.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003568/1.671, allocations: 1.113 MB / 0.7091 GB, free: 146.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006999/1.672, allocations: 92.81 kB / 0.7092 GB, free: 146.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01347/1.686, allocations: 8.839 MB / 0.7178 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/1.686, allocations: 10.05 kB / 0.7178 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01648/1.702, allocations: 9.849 MB / 0.7274 GB, free: 139.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002689/1.705, allocations: 0.9604 MB / 0.7284 GB, free: 139.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000802/1.706, allocations: 75.5 kB / 0.7284 GB, free: 139.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/1.708, allocations: 204 kB / 0.7286 GB, free: 139 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007107/1.709, allocations: 281.7 kB / 0.7289 GB, free: 139 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002385/1.709, allocations: 124.3 kB / 0.729 GB, free: 139 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003528/1.712, allocations: 2.502 MB / 0.7315 GB, free: 138 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.31e-07/1.712, allocations: 0 / 0.7315 GB, free: 138 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006381/1.719, allocations: 1.608 MB / 0.733 GB, free: 137.9 MB / 478.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 (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.000739/1.719, allocations: 277.6 kB / 0.7333 GB, free: 137.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01069/1.73, allocations: 7.135 MB / 0.7403 GB, free: 135 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/1.73, allocations: 3.969 kB / 0.7403 GB, free: 135 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005479/1.736, allocations: 3.389 MB / 0.7436 GB, free: 133.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004896/1.741, allocations: 0.9807 MB / 0.7445 GB, free: 133.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0255/1.766, allocations: 16.42 MB / 0.7606 GB, free: 121.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005938/1.772, allocations: 6.182 MB / 0.7666 GB, free: 116.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004726/1.777, allocations: 1.914 MB / 0.7685 GB, free: 114.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009604/1.778, allocations: 345.4 kB / 0.7688 GB, free: 114.6 MB / 478.1 MB Notification: Performance of SimCode: time 1.042e-06/1.778, allocations: 0 / 0.7688 GB, free: 114.6 MB / 478.1 MB Notification: Performance of Templates: time 0.09475/1.873, allocations: 63.77 MB / 0.8311 GB, free: 51.89 MB / 478.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 -s cvode -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