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_withLosses.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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001116/0.001116, allocations: 195.9 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 226.5 MB / 244.3 MB, free: 8.301 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008058/0.0008058, allocations: 96.06 kB / 296.4 MB, free: 6.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002526/0.000253, allocations: 7.984 kB / 356.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2755, allocations: 51.29 MB / 407.5 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01668/0.2922, allocations: 21.65 MB / 429.2 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01518/0.3075, allocations: 7.407 MB / 436.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005971/0.3135, allocations: 163.5 kB / 436.7 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006241/0.3198, allocations: 1.336 MB / 438.1 MB, free: 13.16 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01033/0.3302, allocations: 2.481 MB / 440.6 MB, free: 10.67 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005299/0.3355, allocations: 1.246 MB / 441.8 MB, free: 9.438 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0219/0.3574, allocations: 13.62 MB / 455.4 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04231/0.3998, allocations: 19.31 MB / 474.7 MB, free: 8.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01089/0.4107, allocations: 4.365 MB / 479.1 MB, free: 3.961 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01104/0.4218, allocations: 4.787 MB / 483.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003804/0.4257, allocations: 0.6641 MB / 484.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006123/0.4318, allocations: 1.07 MB / 485.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004265/0.4361, allocations: 2.063 MB / 487.7 MB, free: 11.35 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004965/0.4411, allocations: 2.13 MB / 489.8 MB, free: 9.211 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02439/0.4656, allocations: 19.62 MB / 0.4975 GB, free: 5.539 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.4656, allocations: 0 / 0.4975 GB, free: 5.539 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.531e-06/0.4656, allocations: 3.984 kB / 0.4975 GB, free: 5.535 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0008109/0.4664, allocations: 0 / 0.4975 GB, free: 5.535 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.2855/0.7519, allocations: 11.36 MB / 0.5086 GB, free: 75.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.752, allocations: 11.81 kB / 0.5086 GB, free: 75.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03234/0.7843, allocations: 6.256 MB / 0.5147 GB, free: 72.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01596/0.8003, allocations: 6.987 MB / 0.5216 GB, free: 67.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006906/0.8011, allocations: 0.7292 MB / 0.5223 GB, free: 66.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004234/0.8053, allocations: 0.9449 MB / 0.5232 GB, free: 65.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04467/0.85, allocations: 16.08 MB / 0.5389 GB, free: 49.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006026/0.8507, allocations: 11.91 kB / 0.5389 GB, free: 49.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004158/0.8548, allocations: 407.6 kB / 0.5393 GB, free: 49.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000619/0.8555, allocations: 0.5591 MB / 0.5398 GB, free: 48.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03296/0.8885, allocations: 15.04 MB / 0.5545 GB, free: 33.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09727/0.9858, allocations: 53.23 MB / 0.6065 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02081/1.007, allocations: 20.09 MB / 0.6261 GB, free: 5.426 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006523/1.013, allocations: 3.688 MB / 0.6297 GB, free: 1.734 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00067/1.014, allocations: 269.1 kB / 0.63 GB, free: 1.449 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.243e-05/1.014, allocations: 78.09 kB / 0.6301 GB, free: 1.363 MB / 426.7 MB Notification: Performance of pre-optimization done (n=453): time 7.715e-06/1.014, allocations: 0 / 0.6301 GB, free: 1.363 MB / 426.7 MB Notification: Performance of matching and sorting (n=458): time 0.06545/1.08, allocations: 22.9 MB / 0.6524 GB, free: 10.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.428e-05/1.08, allocations: 98.97 kB / 0.6525 GB, free: 10.29 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008836/1.089, allocations: 4.47 MB / 0.6569 GB, free: 5.797 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009483/1.089, allocations: 101.7 kB / 0.657 GB, free: 5.691 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003257/1.093, allocations: 4.192 MB / 0.6611 GB, free: 1.473 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002258/1.095, allocations: 1.556 MB / 0.6626 GB, free: 15.94 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009327/1.096, allocations: 124 kB / 0.6627 GB, free: 15.82 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005871/1.097, allocations: 0.5584 MB / 0.6633 GB, free: 15.25 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005895/1.103, allocations: 3.077 MB / 0.6663 GB, free: 12.17 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007547/1.11, allocations: 5.238 MB / 0.6714 GB, free: 5.957 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007913/1.118, allocations: 4.273 MB / 0.6755 GB, free: 1.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.341e-05/1.118, allocations: 20 kB / 0.6756 GB, free: 1.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.4565/1.575, allocations: 9.863 MB / 0.6852 GB, free: 151.2 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.959e-05/1.575, allocations: 38.44 kB / 0.6852 GB, free: 151.2 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001421/1.575, allocations: 66.56 kB / 0.6853 GB, free: 151.2 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003464/1.578, allocations: 1.375 MB / 0.6866 GB, free: 150.9 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005641/1.584, allocations: 1.386 MB / 0.688 GB, free: 150.9 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01514/1.599, allocations: 11.65 MB / 0.6994 GB, free: 144.2 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004984/1.604, allocations: 362.3 kB / 0.6997 GB, free: 144.1 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009578/1.605, allocations: 295.3 kB / 0.7 GB, free: 144.1 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (723): * Single equations (assignments): 717 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007152/1.612, allocations: 3.888 MB / 0.7038 GB, free: 142.2 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001206/1.614, allocations: 467.9 kB / 0.7042 GB, free: 142.2 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/1.627, allocations: 8.58 MB / 0.7126 GB, free: 137.5 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008529/1.635, allocations: 6.267 MB / 0.7187 GB, free: 132.2 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.058e-05/1.635, allocations: 12 kB / 0.7187 GB, free: 132.1 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.618e-05/1.635, allocations: 23.25 kB / 0.7188 GB, free: 132.1 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02849/1.664, allocations: 17.72 MB / 0.7361 GB, free: 115 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-05/1.664, allocations: 12 kB / 0.7361 GB, free: 115 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002884/1.667, allocations: 0.8114 MB / 0.7369 GB, free: 114.2 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003008/1.67, allocations: 1.274 MB / 0.7381 GB, free: 112.9 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002799/1.67, allocations: 104 kB / 0.7382 GB, free: 112.8 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01199/1.682, allocations: 10.56 MB / 0.7485 GB, free: 102 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/1.682, allocations: 11.94 kB / 0.7485 GB, free: 102 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01529/1.698, allocations: 11.25 MB / 0.7595 GB, free: 90.57 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003038/1.701, allocations: 1.108 MB / 0.7606 GB, free: 89.44 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007676/1.701, allocations: 95.94 kB / 0.7607 GB, free: 89.35 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002255/1.704, allocations: 243.8 kB / 0.7609 GB, free: 89.11 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007593/1.705, allocations: 327.5 kB / 0.7613 GB, free: 88.79 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002753/1.705, allocations: 142.8 kB / 0.7614 GB, free: 88.65 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.004548/1.709, allocations: 3.076 MB / 0.7644 GB, free: 85.57 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.61e-07/1.709, allocations: 0 / 0.7644 GB, free: 85.57 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.006644/1.716, allocations: 1.736 MB / 0.7661 GB, free: 83.84 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (420): * Single equations (assignments): 414 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,44.4%) 54} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001441/1.717, allocations: 0.5366 MB / 0.7666 GB, free: 83.44 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01209/1.73, allocations: 8.006 MB / 0.7744 GB, free: 75.41 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/1.73, allocations: 0 / 0.7744 GB, free: 75.41 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005738/1.735, allocations: 3.976 MB / 0.7783 GB, free: 71.42 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004985/1.74, allocations: 1.023 MB / 0.7793 GB, free: 70.41 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02852/1.769, allocations: 21.29 MB / 0.8001 GB, free: 48.99 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005621/1.775, allocations: 6.326 MB / 0.8063 GB, free: 42.63 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001894/1.777, allocations: 423.3 kB / 0.8067 GB, free: 42.22 MB / 474.8 MB Notification: Performance of SimCode: time 9.62e-07/1.777, allocations: 0 / 0.8067 GB, free: 42.22 MB / 474.8 MB Notification: Performance of Templates: time 0.4146/2.191, allocations: 226.5 MB / 1.028 GB, free: 15.17 MB / 0.4949 GB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_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_withLosses/IMC_withLosses.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches