Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001097/0.001096, allocations: 192.5 kB / 17.37 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 226.5 MB / 244.7 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007945/0.0007945, allocations: 104.5 kB / 296.8 MB, free: 6.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002601/0.0002604, allocations: 8 kB / 356.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2378, allocations: 51.29 MB / 408.1 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.01625/0.2541, allocations: 21.66 MB / 429.7 MB, free: 5.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01405/0.2682, allocations: 6.842 MB / 436.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005215/0.2735, allocations: 171.5 kB / 436.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00575/0.2792, allocations: 1.344 MB / 438.1 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0109/0.2902, allocations: 2.412 MB / 440.5 MB, free: 11.2 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00529/0.2955, allocations: 1.165 MB / 441.7 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.02048/0.316, allocations: 13.36 MB / 455 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0489/0.3649, allocations: 21.61 MB / 476.6 MB, free: 6.898 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008857/0.3738, allocations: 4.182 MB / 480.8 MB, free: 2.703 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009433/0.3833, allocations: 4.581 MB / 485.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003459/0.3868, allocations: 0.6406 MB / 486 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006175/0.393, allocations: 1.011 MB / 487.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005099/0.3982, allocations: 1.904 MB / 489 MB, free: 10.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01244/0.4106, allocations: 4.58 MB / 493.5 MB, free: 5.938 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02539/0.4361, allocations: 18.99 MB / 0.5005 GB, free: 2.895 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.4361, allocations: 0 / 0.5005 GB, free: 2.895 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4361, allocations: 0 / 0.5005 GB, free: 2.895 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000717/0.4369, allocations: 0 / 0.5005 GB, free: 2.895 MB / 378.7 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.4386/0.8755, allocations: 10.71 MB / 0.511 GB, free: 77.01 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.8756, allocations: 11.81 kB / 0.511 GB, free: 77.01 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0322/0.9078, allocations: 6.189 MB / 0.517 GB, free: 74.27 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01322/0.9211, allocations: 6.751 MB / 0.5236 GB, free: 67.97 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000735/0.9218, allocations: 0.7059 MB / 0.5243 GB, free: 67.27 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003803/0.9256, allocations: 0.9252 MB / 0.5252 GB, free: 66.36 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03743/0.9631, allocations: 15.68 MB / 0.5405 GB, free: 50.64 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005623/0.9637, allocations: 11.91 kB / 0.5405 GB, free: 50.62 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003489/0.9672, allocations: 398.9 kB / 0.5409 GB, free: 50.25 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005052/0.9677, allocations: 0.547 MB / 0.5415 GB, free: 49.7 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02891/0.9966, allocations: 14.71 MB / 0.5558 GB, free: 34.96 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08561/1.082, allocations: 52.77 MB / 0.6074 GB, free: 13 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02413/1.106, allocations: 26.46 MB / 0.6332 GB, free: 15.48 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005817/1.112, allocations: 3.247 MB / 0.6364 GB, free: 12.23 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005766/1.113, allocations: 247.5 kB / 0.6366 GB, free: 11.96 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.736e-05/1.113, allocations: 77.7 kB / 0.6367 GB, free: 11.88 MB / 442.8 MB Notification: Performance of pre-optimization done (n=404): time 8.626e-06/1.113, allocations: 0 / 0.6367 GB, free: 11.88 MB / 442.8 MB Notification: Performance of matching and sorting (n=410): time 0.04295/1.156, allocations: 17.31 MB / 0.6536 GB, free: 10.5 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/1.156, allocations: 94.53 kB / 0.6537 GB, free: 10.4 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007245/1.163, allocations: 3.661 MB / 0.6572 GB, free: 6.738 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006991/1.164, allocations: 93.7 kB / 0.6573 GB, free: 6.641 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002811/1.167, allocations: 3.981 MB / 0.6612 GB, free: 2.637 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001779/1.169, allocations: 1.397 MB / 0.6626 GB, free: 1.25 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008374/1.17, allocations: 116 kB / 0.6627 GB, free: 1.137 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0005593/1.17, allocations: 0.5382 MB / 0.6632 GB, free: 0.5898 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005251/1.175, allocations: 2.818 MB / 0.666 GB, free: 13.77 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006773/1.182, allocations: 4.977 MB / 0.6708 GB, free: 7.793 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2213/1.404, allocations: 8.365 MB / 0.679 GB, free: 153.8 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.533e-05/1.404, allocations: 19.53 kB / 0.679 GB, free: 153.8 MB / 474.8 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01798/1.422, allocations: 9.117 MB / 0.6879 GB, free: 150.5 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.345e-05/1.422, allocations: 39.05 kB / 0.688 GB, free: 150.5 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001367/1.422, allocations: 70.09 kB / 0.688 GB, free: 150.5 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003368/1.425, allocations: 1.192 MB / 0.6892 GB, free: 150.3 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004841/1.43, allocations: 1.327 MB / 0.6905 GB, free: 150.1 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/1.443, allocations: 9.103 MB / 0.6994 GB, free: 145.4 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005146/1.448, allocations: 338.9 kB / 0.6997 GB, free: 145.3 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001377/1.45, allocations: 283.1 kB / 0.7 GB, free: 145.2 MB / 474.8 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 (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%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008212/1.458, allocations: 3.704 MB / 0.7036 GB, free: 143.4 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001472/1.459, allocations: 397.8 kB / 0.704 GB, free: 143.4 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01401/1.473, allocations: 6.746 MB / 0.7106 GB, free: 140.5 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009154/1.482, allocations: 5.634 MB / 0.7161 GB, free: 135.7 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.458e-05/1.483, allocations: 11.94 kB / 0.7161 GB, free: 135.7 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.112e-05/1.483, allocations: 23.64 kB / 0.7161 GB, free: 135.7 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02731/1.51, allocations: 16.17 MB / 0.7319 GB, free: 120.5 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/1.51, allocations: 8 kB / 0.7319 GB, free: 120.5 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002541/1.513, allocations: 0.7294 MB / 0.7326 GB, free: 119.8 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002576/1.515, allocations: 1.075 MB / 0.7337 GB, free: 118.7 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002644/1.515, allocations: 87.98 kB / 0.7337 GB, free: 118.6 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009985/1.525, allocations: 8.054 MB / 0.7416 GB, free: 110.5 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.525, allocations: 4 kB / 0.7416 GB, free: 110.5 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01372/1.539, allocations: 9.934 MB / 0.7513 GB, free: 100.5 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002259/1.541, allocations: 0.9738 MB / 0.7523 GB, free: 99.51 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007976/1.542, allocations: 76 kB / 0.7523 GB, free: 99.43 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002162/1.544, allocations: 211.9 kB / 0.7525 GB, free: 99.23 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006189/1.545, allocations: 287.3 kB / 0.7528 GB, free: 98.95 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002775/1.545, allocations: 116 kB / 0.7529 GB, free: 98.83 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.003415/1.549, allocations: 2.467 MB / 0.7553 GB, free: 96.38 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.61e-07/1.549, allocations: 0 / 0.7553 GB, free: 96.38 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.005527/1.554, allocations: 1.618 MB / 0.7569 GB, free: 94.76 MB / 474.8 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 (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%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006846/1.555, allocations: 280 kB / 0.7572 GB, free: 94.49 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0107/1.566, allocations: 7.171 MB / 0.7642 GB, free: 87.31 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.566, allocations: 0 / 0.7642 GB, free: 87.31 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005398/1.571, allocations: 3.408 MB / 0.7675 GB, free: 83.89 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007241/1.578, allocations: 0.9294 MB / 0.7684 GB, free: 82.98 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03055/1.609, allocations: 19.47 MB / 0.7874 GB, free: 63.41 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007713/1.617, allocations: 6.007 MB / 0.7933 GB, free: 57.36 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001985/1.619, allocations: 383.4 kB / 0.7937 GB, free: 56.98 MB / 474.8 MB Notification: Performance of SimCode: time 2.014e-06/1.619, allocations: 0 / 0.7937 GB, free: 56.98 MB / 474.8 MB Notification: Performance of Templates: time 0.4233/2.042, allocations: 156.8 MB / 0.9467 GB, free: 77.61 MB / 490.8 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches