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.001563/0.001563, allocations: 200.6 kB / 17.38 MB, free: 4.426 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 226.6 MB / 244.7 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009353/0.0009355, allocations: 100.9 kB / 296.8 MB, free: 6.707 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002268/0.0002268, allocations: 8 kB / 356.8 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2406, allocations: 51.29 MB / 408.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01589/0.2565, allocations: 21.77 MB / 429.8 MB, free: 5.867 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01339/0.2699, allocations: 7.408 MB / 437.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004781/0.2747, allocations: 167.5 kB / 437.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004254/0.279, allocations: 1.344 MB / 438.8 MB, free: 12.94 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007678/0.2867, allocations: 2.486 MB / 441.2 MB, free: 10.45 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003773/0.2905, allocations: 1.247 MB / 442.5 MB, free: 9.207 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01691/0.3074, allocations: 13.7 MB / 456.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0405/0.348, allocations: 23.03 MB / 479.2 MB, free: 4.273 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01229/0.3603, allocations: 4.35 MB / 483.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008806/0.3691, allocations: 4.791 MB / 488.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002937/0.3721, allocations: 0.664 MB / 489 MB, free: 10.44 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005763/0.3779, allocations: 1.07 MB / 490.1 MB, free: 9.367 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005102/0.383, allocations: 2.06 MB / 492.2 MB, free: 7.301 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01027/0.3933, allocations: 4.797 MB / 497 MB, free: 2.477 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.4794/0.8728, allocations: 19.61 MB / 0.5045 GB, free: 34.96 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.8728, allocations: 0 / 0.5045 GB, free: 34.96 MB / 378.8 MB Notification: Performance of FrontEnd: time 2.325e-06/0.8728, allocations: 7.344 kB / 0.5045 GB, free: 34.96 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0006679/0.8735, allocations: 0.5625 kB / 0.5045 GB, free: 34.96 MB / 378.8 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.03128/0.9048, allocations: 11.26 MB / 0.5155 GB, free: 31.77 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.9048, allocations: 12.94 kB / 0.5155 GB, free: 31.77 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0315/0.9364, allocations: 6.25 MB / 0.5216 GB, free: 31 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01393/0.9503, allocations: 7.105 MB / 0.5285 GB, free: 29.06 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005918/0.951, allocations: 0.7235 MB / 0.5292 GB, free: 29.04 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003399/0.9544, allocations: 0.944 MB / 0.5302 GB, free: 29.04 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03935/0.9937, allocations: 16.09 MB / 0.5459 GB, free: 21.44 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003413/0.9941, allocations: 7.906 kB / 0.5459 GB, free: 21.43 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00298/0.9971, allocations: 400.3 kB / 0.5463 GB, free: 21.36 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004511/0.9976, allocations: 0.5616 MB / 0.5468 GB, free: 20.84 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0295/1.027, allocations: 15.04 MB / 0.5615 GB, free: 8.223 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09516/1.122, allocations: 53.26 MB / 0.6135 GB, free: 2.652 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02085/1.143, allocations: 20.1 MB / 0.6331 GB, free: 12.61 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007194/1.15, allocations: 3.677 MB / 0.6367 GB, free: 8.922 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007578/1.151, allocations: 270.5 kB / 0.637 GB, free: 8.637 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001145/1.151, allocations: 82.03 kB / 0.6371 GB, free: 8.547 MB / 458.8 MB Notification: Performance of pre-optimization done (n=453): time 1.174e-05/1.151, allocations: 0 / 0.6371 GB, free: 8.547 MB / 458.8 MB Notification: Performance of matching and sorting (n=458): time 0.06052/1.212, allocations: 20.67 MB / 0.6572 GB, free: 3.875 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.671e-05/1.212, allocations: 102.6 kB / 0.6573 GB, free: 3.766 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009164/1.221, allocations: 4.469 MB / 0.6617 GB, free: 15.28 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001114/1.222, allocations: 97.7 kB / 0.6618 GB, free: 15.18 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003577/1.226, allocations: 4.188 MB / 0.6659 GB, free: 10.96 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00241/1.228, allocations: 1.556 MB / 0.6674 GB, free: 9.418 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/1.23, allocations: 124 kB / 0.6675 GB, free: 9.297 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0006974/1.23, allocations: 0.5585 MB / 0.6681 GB, free: 8.73 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006227/1.237, allocations: 3.077 MB / 0.6711 GB, free: 5.648 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007856/1.244, allocations: 5.231 MB / 0.6762 GB, free: 15.48 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01436/1.259, allocations: 8.906 MB / 0.6849 GB, free: 5.891 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.753e-05/1.259, allocations: 20 kB / 0.6849 GB, free: 5.871 MB / 0.4949 GB Notification: Performance of matching and sorting (n=800) (initialization): time 0.2678/1.527, allocations: 9.876 MB / 0.6945 GB, free: 183 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 8.369e-05/1.527, allocations: 34.31 kB / 0.6946 GB, free: 183 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001333/1.527, allocations: 70.03 kB / 0.6946 GB, free: 183 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003383/1.53, allocations: 1.373 MB / 0.696 GB, free: 183 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005212/1.536, allocations: 1.39 MB / 0.6973 GB, free: 183 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01541/1.551, allocations: 11.65 MB / 0.7087 GB, free: 176.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005144/1.556, allocations: 356 kB / 0.7091 GB, free: 176.6 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001253/1.558, allocations: 300.3 kB / 0.7093 GB, free: 176.5 MB / 0.4949 GB 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.007179/1.565, allocations: 3.884 MB / 0.7131 GB, free: 174.7 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/1.566, allocations: 468.1 kB / 0.7136 GB, free: 174.7 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/1.578, allocations: 8.566 MB / 0.722 GB, free: 171.3 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009043/1.587, allocations: 6.28 MB / 0.7281 GB, free: 168.9 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.996e-05/1.587, allocations: 13.94 kB / 0.7281 GB, free: 168.9 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.633e-05/1.587, allocations: 22.97 kB / 0.7281 GB, free: 168.9 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0276/1.615, allocations: 17.72 MB / 0.7454 GB, free: 153.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/1.615, allocations: 8 kB / 0.7454 GB, free: 153.3 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003009/1.618, allocations: 0.8035 MB / 0.7462 GB, free: 152.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00311/1.621, allocations: 1.275 MB / 0.7475 GB, free: 151.2 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004526/1.622, allocations: 104 kB / 0.7476 GB, free: 151.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01235/1.634, allocations: 10.56 MB / 0.7579 GB, free: 140.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/1.634, allocations: 11.94 kB / 0.7579 GB, free: 140.4 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01556/1.65, allocations: 11.27 MB / 0.7689 GB, free: 129.3 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002775/1.653, allocations: 1.116 MB / 0.77 GB, free: 128.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001305/1.654, allocations: 84 kB / 0.7701 GB, free: 128 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003022/1.657, allocations: 243.8 kB / 0.7703 GB, free: 127.8 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007484/1.658, allocations: 331.5 kB / 0.7706 GB, free: 127.5 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003427/1.658, allocations: 140 kB / 0.7707 GB, free: 127.3 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.006114/1.664, allocations: 3.08 MB / 0.7738 GB, free: 124.2 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.81e-07/1.664, allocations: 0 / 0.7738 GB, free: 124.2 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.00913/1.673, allocations: 1.732 MB / 0.7754 GB, free: 122.5 MB / 0.4949 GB 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.001773/1.675, allocations: 0.5336 MB / 0.776 GB, free: 122.1 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0145/1.69, allocations: 8.006 MB / 0.7838 GB, free: 114.1 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/1.69, allocations: 4.125 kB / 0.7838 GB, free: 114.1 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.007201/1.697, allocations: 3.972 MB / 0.7877 GB, free: 110.1 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009777/1.707, allocations: 1.005 MB / 0.7887 GB, free: 109.1 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03093/1.738, allocations: 21.28 MB / 0.8094 GB, free: 87.7 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005569/1.743, allocations: 6.332 MB / 0.8156 GB, free: 81.33 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002073/1.745, allocations: 427.3 kB / 0.816 GB, free: 80.91 MB / 0.4949 GB Notification: Performance of SimCode: time 1.062e-06/1.745, allocations: 0 / 0.816 GB, free: 80.91 MB / 0.4949 GB Notification: Performance of Templates: time 0.5071/2.253, allocations: 226.1 MB / 1.037 GB, free: 30.23 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