Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 221.3 MB / 235.5 MB, free: 2.98 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008638/0.0008638, allocations: 93.97 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.334e-05/2.345e-05, allocations: 0 / 343.9 MB, free: 4.301 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.098/0.09804, allocations: 50.42 MB / 394.3 MB, free: 1.836 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3369/0.435, allocations: 127 MB / 0.5091 GB, free: 8.426 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.4353, allocations: 113.2 kB / 0.5092 GB, free: 8.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.064/1.499, allocations: 337.3 MB / 0.8386 GB, free: 10.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.794e-06/1.5, allocations: 0 / 0.8386 GB, free: 10.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000538/1.5, allocations: 211.8 kB / 0.8388 GB, free: 10.77 MB / 426.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.02763/1.528, allocations: 8.949 MB / 0.8475 GB, free: 1.734 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/1.528, allocations: 12.03 kB / 0.8476 GB, free: 1.723 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02366/1.551, allocations: 4.211 MB / 0.8517 GB, free: 13.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01991/1.571, allocations: 8.044 MB / 0.8595 GB, free: 5.387 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008159/1.572, allocations: 0.6743 MB / 0.8602 GB, free: 4.711 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003674/1.576, allocations: 0.8788 MB / 0.861 GB, free: 3.832 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03507/1.611, allocations: 15.41 MB / 0.8761 GB, free: 4.098 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002466/1.611, allocations: 7.906 kB / 0.8761 GB, free: 4.09 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001804/1.613, allocations: 392 kB / 0.8765 GB, free: 3.707 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008069/1.614, allocations: 0.7381 MB / 0.8772 GB, free: 2.965 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2985/1.912, allocations: 13.51 MB / 0.8904 GB, free: 51.34 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07389/1.986, allocations: 51.33 MB / 0.9405 GB, free: 41.69 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01726/2.004, allocations: 26.35 MB / 0.9662 GB, free: 18.29 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004966/2.009, allocations: 3.165 MB / 0.9693 GB, free: 17.04 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003595/2.009, allocations: 168 kB / 0.9695 GB, free: 16.93 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/2.009, allocations: 77.44 kB / 0.9696 GB, free: 16.86 MB / 458.7 MB Notification: Performance of pre-optimization done (n=404): time 6.923e-06/2.009, allocations: 0 / 0.9696 GB, free: 16.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=410): time 0.01894/2.028, allocations: 12.37 MB / 0.9816 GB, free: 11.35 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/2.028, allocations: 95.88 kB / 0.9817 GB, free: 11.28 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004189/2.032, allocations: 3.215 MB / 0.9849 GB, free: 10.03 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004807/2.033, allocations: 86.95 kB / 0.985 GB, free: 9.949 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001657/2.035, allocations: 3.986 MB / 0.9889 GB, free: 6.953 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001098/2.036, allocations: 1.404 MB / 0.9902 GB, free: 5.875 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002761/2.036, allocations: 115.2 kB / 0.9903 GB, free: 5.785 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002521/2.036, allocations: 0.5392 MB / 0.9909 GB, free: 5.375 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003388/2.04, allocations: 2.724 MB / 0.9935 GB, free: 4.297 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004162/2.044, allocations: 4.862 MB / 0.9983 GB, free: 0.4961 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00571/2.05, allocations: 3.904 MB / 1.002 GB, free: 14.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.166e-05/2.05, allocations: 20.47 kB / 1.002 GB, free: 14.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01612/2.066, allocations: 8.933 MB / 1.011 GB, free: 11.97 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.822e-05/2.066, allocations: 34.81 kB / 1.011 GB, free: 11.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001295/2.066, allocations: 71.31 kB / 1.011 GB, free: 11.97 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00317/2.069, allocations: 1.212 MB / 1.012 GB, free: 11.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005083/2.074, allocations: 1.32 MB / 1.013 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/2.088, allocations: 9.062 MB / 1.022 GB, free: 6.918 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004712/2.092, allocations: 342.7 kB / 1.023 GB, free: 6.801 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/2.094, allocations: 282.7 kB / 1.023 GB, free: 6.754 MB / 474.7 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 () * 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.3%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00097/2.094, allocations: 481.7 kB / 1.023 GB, free: 6.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008711/2.095, allocations: 394.4 kB / 1.024 GB, free: 6.043 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/2.107, allocations: 6.578 MB / 1.03 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01486/2.122, allocations: 5.919 MB / 1.036 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.141e-05/2.122, allocations: 12 kB / 1.036 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-05/2.122, allocations: 21.33 kB / 1.036 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03007/2.152, allocations: 16.23 MB / 1.052 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/2.152, allocations: 4.594 kB / 1.052 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002959/2.155, allocations: 0.7226 MB / 1.052 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00297/2.158, allocations: 1.064 MB / 1.054 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003193/2.158, allocations: 91.45 kB / 1.054 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01203/2.17, allocations: 8.018 MB / 1.061 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/2.17, allocations: 7.953 kB / 1.061 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.302/2.472, allocations: 10.87 MB / 1.072 GB, free: 91.17 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00343/2.476, allocations: 0.9656 MB / 1.073 GB, free: 91.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007728/2.477, allocations: 82.41 kB / 1.073 GB, free: 91.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002233/2.479, allocations: 214.4 kB / 1.073 GB, free: 91.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006797/2.48, allocations: 288.1 kB / 1.074 GB, free: 91.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002977/2.48, allocations: 119 kB / 1.074 GB, free: 91.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004593/2.484, allocations: 2.402 MB / 1.076 GB, free: 90.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.11e-07/2.484, allocations: 0 / 1.076 GB, free: 90.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006443/2.491, allocations: 1.655 MB / 1.078 GB, free: 90.91 MB / 0.4948 GB 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 () * 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,40.8%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001028/2.492, allocations: 0.5894 MB / 1.078 GB, free: 90.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01154/2.504, allocations: 6.962 MB / 1.085 GB, free: 90.52 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/2.504, allocations: 3.375 kB / 1.085 GB, free: 90.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005671/2.509, allocations: 3.313 MB / 1.088 GB, free: 90.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004314/2.514, allocations: 0.8585 MB / 1.089 GB, free: 90.31 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02436/2.538, allocations: 14.23 MB / 1.103 GB, free: 87.75 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005757/2.544, allocations: 6.353 MB / 1.109 GB, free: 86.84 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00528/2.549, allocations: 1.907 MB / 1.111 GB, free: 86.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/2.55, allocations: 341.6 kB / 1.111 GB, free: 86.75 MB / 0.4948 GB Notification: Performance of SimCode: time 1.001e-06/2.55, allocations: 0 / 1.111 GB, free: 86.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.09914/2.649, allocations: 67.38 MB / 1.177 GB, free: 76.97 MB / 0.4948 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches