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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001057/0.001057, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001082/0.001082, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 59.31 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08175/0.0831, allocations: 50.54 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1686/0.2518, allocations: 24.78 MB / 383.7 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01435/0.2662, allocations: 7.46 MB / 391.2 MB, free: 2.898 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005217/0.2714, allocations: 187.5 kB / 391.3 MB, free: 2.863 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01885/0.2903, allocations: 8.789 MB / 400.1 MB, free: 13.51 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009698/0.3001, allocations: 2.921 MB / 403.1 MB, free: 11.19 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005234/0.3053, allocations: 1.724 MB / 404.8 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01417/0.3195, allocations: 10.82 MB / 415.6 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03096/0.3505, allocations: 21.85 MB / 437.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00786/0.3584, allocations: 5.716 MB / 443.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009445/0.3679, allocations: 6.288 MB / 449.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003471/0.3714, allocations: 1.668 MB / 451.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005548/0.3769, allocations: 2.043 MB / 453.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003953/0.3809, allocations: 3.161 MB / 456.3 MB, free: 9.918 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008959/0.3899, allocations: 6.094 MB / 462.4 MB, free: 3.801 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02032/0.4102, allocations: 22.34 MB / 484.8 MB, free: 13.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4102, allocations: 3.984 kB / 484.8 MB, free: 13.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4102, allocations: 7.938 kB / 484.8 MB, free: 13.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.00041/0.4107, allocations: 0 / 484.8 MB, free: 13.39 MB / 398.1 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.03503/0.4457, allocations: 12.75 MB / 497.5 MB, free: 0.5469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.4457, allocations: 8.031 kB / 497.5 MB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03449/0.4802, allocations: 6.212 MB / 0.4919 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01547/0.4957, allocations: 6.909 MB / 0.4987 GB, free: 3.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005955/0.4964, allocations: 0.7062 MB / 0.4994 GB, free: 2.633 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003281/0.4997, allocations: 0.9217 MB / 0.5003 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03291/0.5326, allocations: 15.74 MB / 0.5156 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003372/0.5329, allocations: 11.91 kB / 0.5156 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002274/0.5352, allocations: 392 kB / 0.516 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005628/0.5358, allocations: 0.5508 MB / 0.5166 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0298/0.5656, allocations: 14.77 MB / 0.531 GB, free: 2.156 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3813/0.9469, allocations: 52.03 MB / 0.5818 GB, free: 94.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01699/0.9639, allocations: 26.47 MB / 0.6076 GB, free: 69.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004258/0.9682, allocations: 3.213 MB / 0.6108 GB, free: 67.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003713/0.9686, allocations: 243.5 kB / 0.611 GB, free: 67.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.9687, allocations: 84.03 kB / 0.6111 GB, free: 67.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=398): time 5.991e-06/0.9687, allocations: 0 / 0.6111 GB, free: 67.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=404): time 0.03258/1.001, allocations: 17.3 MB / 0.628 GB, free: 51.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/1.001, allocations: 94.58 kB / 0.6281 GB, free: 51.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004459/1.006, allocations: 3.688 MB / 0.6317 GB, free: 47.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005376/1.006, allocations: 93.7 kB / 0.6318 GB, free: 47.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001454/1.008, allocations: 3.984 MB / 0.6357 GB, free: 43.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009218/1.009, allocations: 1.377 MB / 0.637 GB, free: 42.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00139/1.01, allocations: 1.14 MB / 0.6381 GB, free: 40.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.099e-05/1.01, allocations: 309.1 kB / 0.6384 GB, free: 40.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003291/1.014, allocations: 2.795 MB / 0.6411 GB, free: 37.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004044/1.018, allocations: 4.953 MB / 0.646 GB, free: 31.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008015/1.026, allocations: 8.306 MB / 0.6541 GB, free: 22.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.194e-05/1.026, allocations: 20 kB / 0.6541 GB, free: 22.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.013/1.039, allocations: 9.099 MB / 0.663 GB, free: 13.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.043e-05/1.039, allocations: 36 kB / 0.663 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/1.039, allocations: 72 kB / 0.6631 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003162/1.042, allocations: 1.227 MB / 0.6643 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004615/1.047, allocations: 1.322 MB / 0.6656 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01278/1.06, allocations: 9.908 MB / 0.6753 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004203/1.064, allocations: 335.4 kB / 0.6756 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/1.065, allocations: 280 kB / 0.6758 GB, free: 152 kB / 446.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006793/1.072, allocations: 3.707 MB / 0.6795 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001227/1.073, allocations: 403 kB / 0.6799 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/1.085, allocations: 6.701 MB / 0.6864 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008778/1.093, allocations: 5.599 MB / 0.6919 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/1.093, allocations: 8 kB / 0.6919 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.292e-05/1.093, allocations: 19.92 kB / 0.6919 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2133/1.307, allocations: 15.77 MB / 0.7073 GB, free: 146.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-05/1.307, allocations: 4.969 kB / 0.7073 GB, free: 146.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003513/1.31, allocations: 0.7221 MB / 0.708 GB, free: 146.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003455/1.314, allocations: 1.117 MB / 0.7091 GB, free: 146.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006161/1.314, allocations: 88.44 kB / 0.7092 GB, free: 146.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01247/1.327, allocations: 8.838 MB / 0.7178 GB, free: 143.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.327, allocations: 5.344 kB / 0.7178 GB, free: 143.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/1.343, allocations: 9.853 MB / 0.7274 GB, free: 139.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002416/1.345, allocations: 0.9537 MB / 0.7284 GB, free: 139.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006357/1.346, allocations: 83.38 kB / 0.7284 GB, free: 139.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/1.348, allocations: 209.2 kB / 0.7286 GB, free: 139.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009/1.349, allocations: 288.5 kB / 0.7289 GB, free: 139.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002585/1.349, allocations: 120.5 kB / 0.729 GB, free: 139 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003555/1.352, allocations: 2.49 MB / 0.7315 GB, free: 138.1 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.352, allocations: 0 / 0.7315 GB, free: 138.1 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004984/1.357, allocations: 1.612 MB / 0.733 GB, free: 137.9 MB / 478.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005583/1.358, allocations: 275.4 kB / 0.7333 GB, free: 137.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01/1.368, allocations: 7.135 MB / 0.7403 GB, free: 135 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/1.368, allocations: 3.812 kB / 0.7403 GB, free: 135 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005005/1.373, allocations: 3.383 MB / 0.7436 GB, free: 133.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004141/1.377, allocations: 0.9775 MB / 0.7445 GB, free: 133.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02298/1.4, allocations: 16.43 MB / 0.7606 GB, free: 121.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00486/1.405, allocations: 6.194 MB / 0.7666 GB, free: 116.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004231/1.409, allocations: 1.914 MB / 0.7685 GB, free: 114.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009344/1.41, allocations: 343.4 kB / 0.7688 GB, free: 114.6 MB / 478.1 MB Notification: Performance of SimCode: time 1.452e-06/1.41, allocations: 0 / 0.7688 GB, free: 114.6 MB / 478.1 MB Notification: Performance of Templates: time 0.09084/1.501, allocations: 63.78 MB / 0.8311 GB, free: 51.95 MB / 478.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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