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/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_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/Complex trunk/package.mo): time 0.001558/0.001558, allocations: 197.6 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 225.6 MB / 234.8 MB, free: 3.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009748/0.0009749, allocations: 91.95 kB / 286.7 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.77e-05/1.785e-05, allocations: 0 / 343.7 MB, free: 8.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1178, allocations: 51.48 MB / 395.2 MB, free: 4.707 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3962/0.514, allocations: 127.2 MB / 0.5102 GB, free: 14.49 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/0.5144, allocations: 101.5 kB / 0.5103 GB, free: 14.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.129/1.644, allocations: 351.2 MB / 0.8533 GB, free: 33.29 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.533e-06/1.644, allocations: 0 / 0.8533 GB, free: 33.29 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005848/1.645, allocations: 204.5 kB / 0.8535 GB, free: 33.27 MB / 442.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.02999/1.675, allocations: 8.983 MB / 0.8623 GB, free: 29.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/1.675, allocations: 10.22 kB / 0.8623 GB, free: 29.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02381/1.698, allocations: 4.204 MB / 0.8664 GB, free: 28.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01747/1.716, allocations: 8.034 MB / 0.8742 GB, free: 24.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004422/1.716, allocations: 298.6 kB / 0.8745 GB, free: 24.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003155/1.72, allocations: 0.5233 MB / 0.875 GB, free: 24.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02438/1.744, allocations: 12.24 MB / 0.887 GB, free: 12.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03538/1.779, allocations: 13.96 MB / 0.9006 GB, free: 14.01 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00029/1.78, allocations: 11.91 kB / 0.9006 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001666/1.781, allocations: 5.312 kB / 0.9006 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007744/1.782, allocations: 0.7304 MB / 0.9013 GB, free: 13.26 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3433/2.125, allocations: 51.56 MB / 0.9517 GB, free: 42.34 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02394/2.149, allocations: 27.27 MB / 0.9783 GB, free: 21.08 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004795/2.154, allocations: 3.344 MB / 0.9816 GB, free: 21.05 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004221/2.155, allocations: 243.1 kB / 0.9818 GB, free: 20.86 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/2.155, allocations: 81.7 kB / 0.9819 GB, free: 20.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=404): time 5.711e-06/2.155, allocations: 2.938 kB / 0.9819 GB, free: 20.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=410): time 0.0371/2.192, allocations: 15.7 MB / 0.9972 GB, free: 19.16 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/2.192, allocations: 95.31 kB / 0.9973 GB, free: 19.09 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004584/2.197, allocations: 2.886 MB / 1 GB, free: 18.83 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006666/2.197, allocations: 25.7 kB / 1 GB, free: 18.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001937/2.199, allocations: 3.99 MB / 1.004 GB, free: 16.71 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001313/2.201, allocations: 1.337 MB / 1.005 GB, free: 15.83 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002976/2.201, allocations: 0 / 1.005 GB, free: 15.83 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002654/2.201, allocations: 0.5459 MB / 1.006 GB, free: 15.52 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00328/2.204, allocations: 2.766 MB / 1.009 GB, free: 15.11 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004392/2.209, allocations: 4.867 MB / 1.013 GB, free: 11.25 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/2.22, allocations: 5.228 MB / 1.018 GB, free: 9.48 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001006/2.22, allocations: 18.44 kB / 1.018 GB, free: 9.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01987/2.24, allocations: 9.864 MB / 1.028 GB, free: 6.422 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.937e-05/2.24, allocations: 43.09 kB / 1.028 GB, free: 6.422 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001104/2.24, allocations: 79.11 kB / 1.028 GB, free: 6.418 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002997/2.243, allocations: 1.189 MB / 1.029 GB, free: 6.191 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004904/2.248, allocations: 1.357 MB / 1.031 GB, free: 6.145 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/2.26, allocations: 8.781 MB / 1.039 GB, free: 1.516 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005137/2.265, allocations: 257.9 kB / 1.04 GB, free: 1.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001342/2.266, allocations: 288.8 kB / 1.04 GB, free: 1.453 MB / 458.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.002329/2.269, allocations: 295.7 kB / 1.04 GB, free: 1.281 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001569/2.27, allocations: 386.6 kB / 1.04 GB, free: 1.078 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02104/2.291, allocations: 7.766 MB / 1.048 GB, free: 14.82 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01411/2.305, allocations: 6.623 MB / 1.055 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.252e-05/2.305, allocations: 8 kB / 1.055 GB, free: 11.13 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-05/2.306, allocations: 21.38 kB / 1.055 GB, free: 11.13 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03974/2.345, allocations: 16.73 MB / 1.071 GB, free: 15.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-05/2.345, allocations: 4 kB / 1.071 GB, free: 15.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003312/2.349, allocations: 0.7629 MB / 1.072 GB, free: 14.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002977/2.352, allocations: 1.064 MB / 1.073 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004453/2.352, allocations: 26.66 kB / 1.073 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0116/2.364, allocations: 7.807 MB / 1.08 GB, free: 6.984 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/2.364, allocations: 8 kB / 1.08 GB, free: 6.977 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3158/2.68, allocations: 12.26 MB / 1.092 GB, free: 76.63 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002462/2.682, allocations: 0.9854 MB / 1.093 GB, free: 76.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005947/2.683, allocations: 7.531 kB / 1.093 GB, free: 76.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002132/2.685, allocations: 181.2 kB / 1.093 GB, free: 76.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005519/2.685, allocations: 287.4 kB / 1.094 GB, free: 76.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002735/2.686, allocations: 121.4 kB / 1.094 GB, free: 76.54 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002837/2.689, allocations: 2.103 MB / 1.096 GB, free: 76.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/2.689, allocations: 0 / 1.096 GB, free: 76.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005698/2.694, allocations: 1.465 MB / 1.097 GB, free: 76.39 MB / 490.7 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 () * 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,39.8%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008378/2.695, allocations: 428.9 kB / 1.098 GB, free: 76.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009859/2.705, allocations: 6.952 MB / 1.105 GB, free: 76.05 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/2.705, allocations: 0 / 1.105 GB, free: 76.05 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004961/2.71, allocations: 3.381 MB / 1.108 GB, free: 75.88 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004101/2.714, allocations: 0.6969 MB / 1.108 GB, free: 75.87 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02639/2.741, allocations: 14.36 MB / 1.123 GB, free: 73.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007373/2.748, allocations: 6.348 MB / 1.129 GB, free: 72.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006179/2.754, allocations: 1.896 MB / 1.131 GB, free: 72.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/2.755, allocations: 339.4 kB / 1.131 GB, free: 72.32 MB / 490.7 MB Notification: Performance of SimCode: time 1.002e-06/2.755, allocations: 0 / 1.131 GB, free: 72.32 MB / 490.7 MB Notification: Performance of Templates: time 0.09588/2.851, allocations: 60.52 MB / 1.19 GB, free: 66 MB / 490.7 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 -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/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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches