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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009375/0.0009374, allocations: 97.88 kB / 16.93 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 179.3 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00046/0.0004601, allocations: 16 kB / 280.8 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1059, allocations: 47.57 MB / 328.4 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02033/0.1263, allocations: 19.92 MB / 348.3 MB, free: 88 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01559/0.1419, allocations: 6.953 MB / 355.2 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004984/0.1469, allocations: 147.5 kB / 355.4 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006748/0.1537, allocations: 1.497 MB / 356.9 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01153/0.1653, allocations: 2.516 MB / 359.4 MB, free: 4.945 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00501/0.1703, allocations: 1.17 MB / 360.6 MB, free: 3.773 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01811/0.1884, allocations: 9.983 MB / 370.5 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2301/0.4186, allocations: 17.79 MB / 388.3 MB, free: 13.4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008216/0.4269, allocations: 3.903 MB / 392.2 MB, free: 13.4 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008748/0.4357, allocations: 4.239 MB / 396.5 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002833/0.4385, allocations: 0.6435 MB / 397.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004805/0.4433, allocations: 0.9366 MB / 398 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002664/0.446, allocations: 1.883 MB / 399.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003767/0.4498, allocations: 2.074 MB / 402 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01927/0.4691, allocations: 18.95 MB / 421 MB, free: 2.984 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.4691, allocations: 0 / 421 MB, free: 2.984 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4692, allocations: 0 / 421 MB, free: 2.984 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0006238/0.4698, allocations: 0 / 421 MB, free: 2.984 MB / 318.1 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.03315/0.5029, allocations: 10.85 MB / 431.8 MB, free: 9.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.503, allocations: 12.03 kB / 431.8 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04014/0.5432, allocations: 7.09 MB / 438.9 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01616/0.5594, allocations: 6.098 MB / 445 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000826/0.5602, allocations: 0.7159 MB / 445.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005657/0.5659, allocations: 0.9306 MB / 446.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05107/0.617, allocations: 16.07 MB / 462.7 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004101/0.6174, allocations: 18.72 kB / 462.7 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005173/0.6226, allocations: 396.9 kB / 463.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000713/0.6233, allocations: 0.5902 MB / 463.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03581/0.6592, allocations: 15.4 MB / 479.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09893/0.7581, allocations: 52.94 MB / 0.5196 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2343/0.9925, allocations: 35.47 MB / 0.5542 GB, free: 91.78 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02156/1.014, allocations: 10.25 MB / 0.5642 GB, free: 89.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.486e-05/1.014, allocations: 64.42 kB / 0.5643 GB, free: 89.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=307): time 7.905e-06/1.014, allocations: 1 kB / 0.5643 GB, free: 89.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=313): time 0.03243/1.047, allocations: 15.59 MB / 0.5795 GB, free: 83.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/1.047, allocations: 82.47 kB / 0.5796 GB, free: 83.13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006204/1.053, allocations: 3.817 MB / 0.5833 GB, free: 81.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005717/1.054, allocations: 77.8 kB / 0.5834 GB, free: 81.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002123/1.056, allocations: 4.24 MB / 0.5875 GB, free: 78.44 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001049/1.057, allocations: 1.087 MB / 0.5886 GB, free: 77.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/1.057, allocations: 111.1 kB / 0.5887 GB, free: 77.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002512/1.057, allocations: 0.5323 MB / 0.5892 GB, free: 77.12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003425/1.061, allocations: 2.592 MB / 0.5918 GB, free: 76.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006631/1.067, allocations: 4.95 MB / 0.5966 GB, free: 72.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005746/1.073, allocations: 3.723 MB / 0.6002 GB, free: 70.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.85e-05/1.073, allocations: 23.53 kB / 0.6003 GB, free: 70.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=706) (initialization): time 0.0154/1.089, allocations: 8.723 MB / 0.6088 GB, free: 66.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.289e-05/1.089, allocations: 41.72 kB / 0.6088 GB, free: 66.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001347/1.089, allocations: 81.31 kB / 0.6089 GB, free: 66.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003279/1.092, allocations: 1.213 MB / 0.6101 GB, free: 66.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005032/1.097, allocations: 1.245 MB / 0.6113 GB, free: 65.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/1.11, allocations: 9.389 MB / 0.6205 GB, free: 56.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005265/1.115, allocations: 335.4 kB / 0.6208 GB, free: 56.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001213/1.117, allocations: 284 kB / 0.621 GB, free: 56.08 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (645): * Single equations (assignments): 640 * 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.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007863/1.124, allocations: 3.74 MB / 0.6247 GB, free: 52.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001489/1.126, allocations: 383.3 kB / 0.6251 GB, free: 51.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/1.137, allocations: 5.927 MB / 0.6309 GB, free: 45.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007606/1.145, allocations: 4.873 MB / 0.6356 GB, free: 41.06 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.864e-05/1.145, allocations: 8 kB / 0.6356 GB, free: 41.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.51e-05/1.145, allocations: 15.94 kB / 0.6356 GB, free: 41.04 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03096/1.176, allocations: 13.89 MB / 0.6492 GB, free: 27.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/1.176, allocations: 0 / 0.6492 GB, free: 27.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002668/1.179, allocations: 0.5736 MB / 0.6498 GB, free: 26.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002916/1.182, allocations: 1.086 MB / 0.6508 GB, free: 25.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006074/1.182, allocations: 72.86 kB / 0.6509 GB, free: 25.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01141/1.194, allocations: 8.306 MB / 0.659 GB, free: 16.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/1.194, allocations: 7.938 kB / 0.659 GB, free: 16.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01323/1.207, allocations: 9.011 MB / 0.6678 GB, free: 7.703 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002748/1.21, allocations: 0.8904 MB / 0.6687 GB, free: 6.789 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001206/1.211, allocations: 64.06 kB / 0.6687 GB, free: 6.727 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002877/1.214, allocations: 191.8 kB / 0.6689 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006155/1.215, allocations: 226.7 kB / 0.6691 GB, free: 6.316 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002979/1.215, allocations: 99.97 kB / 0.6692 GB, free: 6.219 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.005083/1.22, allocations: 2.545 MB / 0.6717 GB, free: 3.688 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.01e-07/1.22, allocations: 0 / 0.6717 GB, free: 3.688 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007664/1.228, allocations: 1.56 MB / 0.6732 GB, free: 2.133 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (289): * Single equations (assignments): 284 * 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.0008649/1.229, allocations: 251.8 kB / 0.6735 GB, free: 1.895 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01257/1.241, allocations: 6.617 MB / 0.68 GB, free: 11.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/1.241, allocations: 4.062 kB / 0.68 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006445/1.248, allocations: 3.057 MB / 0.6829 GB, free: 8.188 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005533/1.253, allocations: 0.8605 MB / 0.6838 GB, free: 7.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0394/1.293, allocations: 19.34 MB / 0.7027 GB, free: 3.898 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2038/1.497, allocations: 6.38 MB / 0.7089 GB, free: 151.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.007608/1.504, allocations: 1.885 MB / 0.7107 GB, free: 151.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/1.505, allocations: 308.1 kB / 0.711 GB, free: 151.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.282e-06/1.505, allocations: 1.5 kB / 0.711 GB, free: 151.7 MB / 462.1 MB Notification: Performance of Templates: time 0.09521/1.601, allocations: 59.41 MB / 0.7691 GB, free: 114.3 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/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