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_withLosses.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 4.0.0+maint.om/package.mo", uses=false) 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) 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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 111.7 kB / 16.62 MB, free: 6.812 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.001048/0.001048, allocations: 190 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009557/0.0009558, allocations: 47.17 kB / 300.2 MB, free: 6.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09276/0.09373, allocations: 49.45 MB / 349.6 MB, free: 4.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1827/0.2765, allocations: 24.38 MB / 374 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01506/0.2916, allocations: 7.732 MB / 381.7 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004403/0.296, allocations: 178.4 kB / 381.9 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01797/0.3141, allocations: 7.92 MB / 389.8 MB, free: 6.695 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01032/0.3244, allocations: 2.707 MB / 392.5 MB, free: 5.621 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005546/0.33, allocations: 1.673 MB / 394.2 MB, free: 4.625 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01619/0.3462, allocations: 11.09 MB / 405.3 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03584/0.3821, allocations: 26.88 MB / 432.2 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00935/0.3915, allocations: 5.95 MB / 438.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01154/0.4031, allocations: 6.58 MB / 444.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005066/0.4082, allocations: 1.715 MB / 446.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007285/0.4155, allocations: 2.128 MB / 448.5 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005566/0.4211, allocations: 3.363 MB / 451.9 MB, free: 112 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01075/0.4319, allocations: 6.362 MB / 458.3 MB, free: 9.723 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02613/0.458, allocations: 22.98 MB / 481.2 MB, free: 2.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.458, allocations: 0 / 481.2 MB, free: 2.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4581, allocations: 0 / 481.2 MB, free: 2.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005932/0.4587, allocations: 0 / 481.2 MB, free: 2.672 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.05903/0.5177, allocations: 13.47 MB / 494.7 MB, free: 5.109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.5178, allocations: 8.031 kB / 494.7 MB, free: 5.102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03522/0.553, allocations: 6.216 MB / 0.4892 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01437/0.5674, allocations: 7.065 MB / 0.4961 GB, free: 7.723 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007292/0.5682, allocations: 0.7263 MB / 0.4968 GB, free: 6.996 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003629/0.5718, allocations: 0.953 MB / 0.4977 GB, free: 6.043 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04116/0.613, allocations: 16.15 MB / 0.5135 GB, free: 5.836 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004862/0.6135, allocations: 19.8 kB / 0.5135 GB, free: 5.816 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003497/0.617, allocations: 400 kB / 0.5139 GB, free: 5.426 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006975/0.6178, allocations: 0.5592 MB / 0.5144 GB, free: 4.863 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3252/0.943, allocations: 15.1 MB / 0.5292 GB, free: 115.4 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07997/1.023, allocations: 52.61 MB / 0.5806 GB, free: 78.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01592/1.039, allocations: 20.12 MB / 0.6002 GB, free: 56.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005052/1.044, allocations: 3.667 MB / 0.6038 GB, free: 52.76 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004754/1.045, allocations: 187.7 kB / 0.604 GB, free: 52.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.346e-05/1.045, allocations: 82.09 kB / 0.6041 GB, free: 52.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=453): time 6.442e-06/1.045, allocations: 0 / 0.6041 GB, free: 52.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=458): time 0.04918/1.094, allocations: 20.64 MB / 0.6242 GB, free: 31.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/1.094, allocations: 98.97 kB / 0.6243 GB, free: 31.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007415/1.101, allocations: 4.489 MB / 0.6287 GB, free: 27.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008717/1.102, allocations: 97.7 kB / 0.6288 GB, free: 27.06 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002133/1.104, allocations: 4.188 MB / 0.6329 GB, free: 22.85 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001565/1.106, allocations: 1.551 MB / 0.6344 GB, free: 21.31 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003487/1.109, allocations: 1.196 MB / 0.6356 GB, free: 20.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.703e-05/1.11, allocations: 301.1 kB / 0.6359 GB, free: 19.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004828/1.114, allocations: 3.1 MB / 0.6389 GB, free: 16.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006277/1.121, allocations: 5.246 MB / 0.644 GB, free: 10.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/1.132, allocations: 8.935 MB / 0.6527 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.54e-05/1.132, allocations: 23.94 kB / 0.6528 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.01985/1.152, allocations: 9.906 MB / 0.6624 GB, free: 6.629 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/1.152, allocations: 39.94 kB / 0.6625 GB, free: 6.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001344/1.152, allocations: 68 kB / 0.6625 GB, free: 6.523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00396/1.156, allocations: 1.384 MB / 0.6639 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005859/1.162, allocations: 1.388 MB / 0.6652 GB, free: 3.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01897/1.181, allocations: 12.52 MB / 0.6775 GB, free: 6.957 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004781/1.186, allocations: 359.5 kB / 0.6778 GB, free: 6.605 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001233/1.187, allocations: 292 kB / 0.6781 GB, free: 6.32 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (723): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007376/1.194, allocations: 3.892 MB / 0.6819 GB, free: 2.414 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001515/1.196, allocations: 458.3 kB / 0.6823 GB, free: 1.961 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01684/1.213, allocations: 8.574 MB / 0.6907 GB, free: 9.336 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0116/1.224, allocations: 6.296 MB / 0.6968 GB, free: 3.02 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.791e-05/1.225, allocations: 16 kB / 0.6969 GB, free: 3.004 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-05/1.225, allocations: 19.92 kB / 0.6969 GB, free: 2.984 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2361/1.461, allocations: 17.73 MB / 0.7142 GB, free: 148.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.08e-05/1.461, allocations: 7.469 kB / 0.7142 GB, free: 148.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003255/1.464, allocations: 0.8027 MB / 0.715 GB, free: 148.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003367/1.467, allocations: 1.295 MB / 0.7162 GB, free: 148.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005221/1.468, allocations: 107.8 kB / 0.7163 GB, free: 148.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01244/1.48, allocations: 11.43 MB / 0.7275 GB, free: 141.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/1.48, allocations: 15.53 kB / 0.7275 GB, free: 141.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01496/1.495, allocations: 11.28 MB / 0.7385 GB, free: 136.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002029/1.497, allocations: 1.091 MB / 0.7396 GB, free: 136.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006768/1.498, allocations: 91.36 kB / 0.7397 GB, free: 136.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002255/1.5, allocations: 237.7 kB / 0.7399 GB, free: 136 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007088/1.501, allocations: 332.4 kB / 0.7402 GB, free: 136 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002751/1.501, allocations: 134.8 kB / 0.7404 GB, free: 135.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003909/1.505, allocations: 3.102 MB / 0.7434 GB, free: 134.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.505, allocations: 2 kB / 0.7434 GB, free: 134.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005688/1.511, allocations: 1.727 MB / 0.7451 GB, free: 134 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (420): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001402/1.512, allocations: 0.5484 MB / 0.7456 GB, free: 133.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.03235/1.545, allocations: 15.25 MB / 0.7605 GB, free: 119.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/1.545, allocations: 1.438 kB / 0.7605 GB, free: 119.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006255/1.551, allocations: 3.98 MB / 0.7644 GB, free: 116.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005278/1.556, allocations: 1.053 MB / 0.7654 GB, free: 115.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0291/1.586, allocations: 22.37 MB / 0.7873 GB, free: 93.95 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005739/1.591, allocations: 6.511 MB / 0.7936 GB, free: 87.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005299/1.597, allocations: 2.115 MB / 0.7957 GB, free: 85.28 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/1.598, allocations: 379.3 kB / 0.7961 GB, free: 84.91 MB / 478.1 MB Notification: Performance of SimCode: time 8.91e-07/1.598, allocations: 4 kB / 0.7961 GB, free: 84.9 MB / 478.1 MB Notification: Performance of Templates: time 0.1069/1.705, allocations: 75.47 MB / 0.8698 GB, free: 9.926 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_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_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches