Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001347/0.001352, allocations: 183.3 kB / 18.04 MB, free: 3.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.4 MB / 224.2 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009122/0.0009123, allocations: 78.44 kB / 272.5 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003086/0.0003088, allocations: 8 kB / 329.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2041, allocations: 47.58 MB / 377.1 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.3321, allocations: 126.7 MB / 0.4919 GB, free: 1.746 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.3324, allocations: 111.9 kB / 0.492 GB, free: 1.637 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.131/1.464, allocations: 335.1 MB / 0.8193 GB, free: 46.98 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.415e-06/1.464, allocations: 0 / 0.8193 GB, free: 46.98 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005829/1.464, allocations: 215.6 kB / 0.8195 GB, free: 46.96 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: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.02807/1.492, allocations: 9.383 MB / 0.8287 GB, free: 44.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/1.492, allocations: 11.06 kB / 0.8287 GB, free: 44.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02706/1.519, allocations: 4.88 MB / 0.8334 GB, free: 43.56 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01729/1.537, allocations: 7.264 MB / 0.8405 GB, free: 42.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001089/1.538, allocations: 0.6949 MB / 0.8412 GB, free: 42.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004015/1.542, allocations: 0.8934 MB / 0.8421 GB, free: 42.57 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04231/1.584, allocations: 16.78 MB / 0.8585 GB, free: 41.45 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005343/1.585, allocations: 12.44 kB / 0.8585 GB, free: 41.44 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003909/1.589, allocations: 395.5 kB / 0.8589 GB, free: 41.44 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008583/1.59, allocations: 0.7001 MB / 0.8595 GB, free: 41.42 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03076/1.62, allocations: 15.43 MB / 0.8746 GB, free: 41.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09375/1.714, allocations: 53.92 MB / 0.9273 GB, free: 17.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02075/1.735, allocations: 18.85 MB / 0.9457 GB, free: 1.758 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02487/1.76, allocations: 8.047 MB / 0.9535 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2625/2.022, allocations: 22.75 MB / 0.9757 GB, free: 57.84 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.868e-05/2.023, allocations: 95.3 kB / 0.9758 GB, free: 57.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=684): time 7.985e-06/2.023, allocations: 0 / 0.9758 GB, free: 57.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=690): time 0.07067/2.093, allocations: 34.73 MB / 1.01 GB, free: 55.71 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/2.093, allocations: 111.4 kB / 1.01 GB, free: 55.64 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003709/2.097, allocations: 2.763 MB / 1.013 GB, free: 55.39 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001181/2.098, allocations: 118.8 kB / 1.013 GB, free: 55.36 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001557/2.1, allocations: 3.419 MB / 1.016 GB, free: 53.77 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002523/2.102, allocations: 2.271 MB / 1.018 GB, free: 52.29 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004621/2.103, allocations: 121.5 kB / 1.018 GB, free: 52.29 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004799/2.103, allocations: 0.5869 MB / 1.019 GB, free: 51.97 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006652/2.11, allocations: 4.717 MB / 1.024 GB, free: 51.95 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008517/2.118, allocations: 6.068 MB / 1.029 GB, free: 50.6 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01582/2.134, allocations: 11.37 MB / 1.041 GB, free: 48.73 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-05/2.134, allocations: 8.625 kB / 1.041 GB, free: 48.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.02523/2.16, allocations: 13.64 MB / 1.054 GB, free: 43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.249e-05/2.16, allocations: 18.53 kB / 1.054 GB, free: 43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/2.16, allocations: 36.75 kB / 1.054 GB, free: 43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007385/2.167, allocations: 3.873 MB / 1.058 GB, free: 41.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004801/2.172, allocations: 1.13 MB / 1.059 GB, free: 41.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/2.183, allocations: 10.68 MB / 1.069 GB, free: 35.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004849/2.188, allocations: 352 kB / 1.07 GB, free: 35.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001614/2.19, allocations: 271.1 kB / 1.07 GB, free: 35.18 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 161 * 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 (601): * Single equations (assignments): 533 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 62 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 76} Notification: Performance of prepare postOptimizeDAE: time 0.0085/2.198, allocations: 3.695 MB / 1.073 GB, free: 33.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001931/2.2, allocations: 436.5 kB / 1.074 GB, free: 33.17 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02323/2.223, allocations: 13.32 MB / 1.087 GB, free: 27.32 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01849/2.242, allocations: 11.88 MB / 1.098 GB, free: 17.77 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.198e-05/2.242, allocations: 6.25 kB / 1.098 GB, free: 17.76 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.491e-05/2.242, allocations: 27.75 kB / 1.099 GB, free: 17.76 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05692/2.299, allocations: 27.2 MB / 1.125 GB, free: 13.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.301e-05/2.299, allocations: 3 kB / 1.125 GB, free: 13.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004001/2.303, allocations: 0.8098 MB / 1.126 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008028/2.311, allocations: 3.817 MB / 1.13 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001416/2.313, allocations: 144.6 kB / 1.13 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2644/2.577, allocations: 10.57 MB / 1.14 GB, free: 74.59 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/2.577, allocations: 1.812 kB / 1.14 GB, free: 74.59 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03153/2.609, allocations: 19.88 MB / 1.159 GB, free: 74.11 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003906/2.612, allocations: 1.544 MB / 1.161 GB, free: 74.01 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001354/2.614, allocations: 93.31 kB / 1.161 GB, free: 74.01 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003175/2.617, allocations: 284.4 kB / 1.161 GB, free: 74.01 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001212/2.618, allocations: 0.5011 MB / 1.162 GB, free: 74 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004564/2.619, allocations: 181.4 kB / 1.162 GB, free: 74 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003362/2.622, allocations: 1.866 MB / 1.164 GB, free: 73.86 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/2.622, allocations: 0 / 1.164 GB, free: 73.86 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00829/2.63, allocations: 1.684 MB / 1.165 GB, free: 73.86 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (436): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 62 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 76} Notification: Performance of Backend phase and start with SimCode phase: time 0.002089/2.633, allocations: 0.491 MB / 1.166 GB, free: 73.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02135/2.654, allocations: 11.49 MB / 1.177 GB, free: 73.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/2.654, allocations: 6.5 kB / 1.177 GB, free: 73.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01306/2.667, allocations: 5.942 MB / 1.183 GB, free: 73.18 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009093/2.676, allocations: 0.916 MB / 1.184 GB, free: 73.17 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04915/2.725, allocations: 23.55 MB / 1.207 GB, free: 65.43 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01162/2.737, allocations: 6.367 MB / 1.213 GB, free: 63.92 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007183/2.744, allocations: 1.508 MB / 1.215 GB, free: 63.77 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001906/2.746, allocations: 310.9 kB / 1.215 GB, free: 63.74 MB / 474.7 MB Notification: Performance of SimCode: time 1.002e-06/2.746, allocations: 0 / 1.215 GB, free: 63.74 MB / 474.7 MB Notification: Performance of Templates: time 0.4572/3.203, allocations: 111.4 MB / 1.324 GB, free: 71.07 MB / 474.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches