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_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 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_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_3.2.3_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_3.2.3_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.001518/0.001518, allocations: 114.5 kB / 17.73 MB, free: 5.336 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.001784/0.001784, allocations: 187 kB / 18.67 MB, free: 4.402 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.1 MB / 224.5 MB, free: 12.24 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.001611/0.001611, allocations: 47.92 kB / 328.6 MB, free: 3.246 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1145, allocations: 46.62 MB / 375.2 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2789/0.3934, allocations: 24.96 MB / 400.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02466/0.4181, allocations: 7.721 MB / 407.9 MB, free: 7.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008555/0.4267, allocations: 148.7 kB / 408 MB, free: 7.957 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02265/0.4495, allocations: 8.371 MB / 416.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01387/0.4634, allocations: 3.049 MB / 419.4 MB, free: 4 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007267/0.4706, allocations: 1.786 MB / 421.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01861/0.4893, allocations: 11.21 MB / 432.4 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03931/0.5286, allocations: 23.36 MB / 455.8 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009931/0.5386, allocations: 5.962 MB / 461.8 MB, free: 8.824 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01213/0.5507, allocations: 6.537 MB / 468.3 MB, free: 2.266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005543/0.5563, allocations: 1.73 MB / 470 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008924/0.5653, allocations: 2.128 MB / 472.2 MB, free: 14.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007238/0.5725, allocations: 3.453 MB / 475.6 MB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01703/0.5896, allocations: 6.432 MB / 482 MB, free: 4.488 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03256/0.6222, allocations: 23.19 MB / 0.4934 GB, free: 13.22 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.6222, allocations: 0 / 0.4934 GB, free: 13.22 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6222, allocations: 0 / 0.4934 GB, free: 13.22 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007177/0.623, allocations: 3.938 kB / 0.4934 GB, free: 13.22 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.04387/0.6669, allocations: 13.8 MB / 0.5069 GB, free: 15.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.6669, allocations: 12.03 kB / 0.5069 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03973/0.7067, allocations: 7.301 MB / 0.514 GB, free: 7.969 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01361/0.7203, allocations: 6.514 MB / 0.5204 GB, free: 1.375 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006779/0.721, allocations: 0.7305 MB / 0.5211 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003934/0.725, allocations: 0.957 MB / 0.522 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04046/0.7654, allocations: 16.59 MB / 0.5382 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003001/0.7658, allocations: 19.89 kB / 0.5382 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003629/0.7694, allocations: 407.9 kB / 0.5386 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007536/0.7702, allocations: 0.5947 MB / 0.5392 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.489/1.259, allocations: 15.79 MB / 0.5546 GB, free: 132.7 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1038/1.363, allocations: 53.39 MB / 0.6068 GB, free: 100 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02211/1.385, allocations: 22.73 MB / 0.629 GB, free: 79.42 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006882/1.392, allocations: 3.81 MB / 0.6327 GB, free: 77.41 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01975/1.412, allocations: 11.69 MB / 0.6441 GB, free: 65.76 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.087e-05/1.412, allocations: 76.92 kB / 0.6442 GB, free: 65.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=357): time 5.29e-06/1.412, allocations: 0 / 0.6442 GB, free: 65.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=362): time 0.0391/1.451, allocations: 17.64 MB / 0.6614 GB, free: 48.32 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/1.451, allocations: 86.25 kB / 0.6615 GB, free: 48.22 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007421/1.459, allocations: 4.77 MB / 0.6661 GB, free: 43.48 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006385/1.459, allocations: 85.7 kB / 0.6662 GB, free: 43.39 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002405/1.462, allocations: 4.638 MB / 0.6708 GB, free: 38.82 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001297/1.463, allocations: 1.308 MB / 0.672 GB, free: 37.53 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002515/1.466, allocations: 1.187 MB / 0.6732 GB, free: 36.33 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.092e-05/1.466, allocations: 305.1 kB / 0.6735 GB, free: 36.03 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004216/1.47, allocations: 2.901 MB / 0.6763 GB, free: 33.12 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005164/1.475, allocations: 5.266 MB / 0.6815 GB, free: 26.75 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/1.486, allocations: 8.636 MB / 0.6899 GB, free: 17 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000136/1.487, allocations: 27.94 kB / 0.6899 GB, free: 16.97 MB / 478.1 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.02013/1.507, allocations: 9.639 MB / 0.6993 GB, free: 7.305 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.453e-05/1.507, allocations: 40.94 kB / 0.6994 GB, free: 7.266 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001442/1.507, allocations: 80 kB / 0.6994 GB, free: 7.188 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003644/1.511, allocations: 1.442 MB / 0.7009 GB, free: 5.742 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004613/1.515, allocations: 1.334 MB / 0.7022 GB, free: 4.406 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01786/1.533, allocations: 12.69 MB / 0.7145 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005548/1.539, allocations: 367.6 kB / 0.7149 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001391/1.54, allocations: 300 kB / 0.7152 GB, free: 6.797 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (689): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.009701/1.55, allocations: 3.927 MB / 0.719 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001935/1.552, allocations: 468.9 kB / 0.7195 GB, free: 2.395 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01567/1.567, allocations: 6.772 MB / 0.7261 GB, free: 11.57 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01123/1.579, allocations: 5.58 MB / 0.7315 GB, free: 5.957 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.698e-05/1.579, allocations: 16 kB / 0.7315 GB, free: 5.941 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.937e-05/1.579, allocations: 19.92 kB / 0.7316 GB, free: 5.922 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0389/1.618, allocations: 15.43 MB / 0.7466 GB, free: 6.355 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.353e-05/1.618, allocations: 8.594 kB / 0.7466 GB, free: 6.348 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003795/1.622, allocations: 0.6709 MB / 0.7473 GB, free: 5.676 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004015/1.626, allocations: 1.305 MB / 0.7486 GB, free: 4.367 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009229/1.627, allocations: 87.97 kB / 0.7487 GB, free: 4.281 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2938/1.92, allocations: 11.55 MB / 0.7599 GB, free: 167.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/1.921, allocations: 9 kB / 0.7599 GB, free: 167.9 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01892/1.939, allocations: 10.02 MB / 0.7697 GB, free: 163.9 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003165/1.943, allocations: 1.044 MB / 0.7708 GB, free: 163.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008109/1.943, allocations: 75.58 kB / 0.7708 GB, free: 163.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002409/1.946, allocations: 221.8 kB / 0.771 GB, free: 163.5 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000962/1.947, allocations: 268.1 kB / 0.7713 GB, free: 163.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003132/1.947, allocations: 117.6 kB / 0.7714 GB, free: 163.4 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006251/1.953, allocations: 3.234 MB / 0.7746 GB, free: 162.2 MB / 0.5138 GB Notification: Performance of sort global known variables: time 4.71e-07/1.953, allocations: 1.531 kB / 0.7746 GB, free: 162.2 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008527/1.962, allocations: 1.684 MB / 0.7762 GB, free: 162.1 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (333): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,43.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001511/1.964, allocations: 0.5168 MB / 0.7767 GB, free: 161.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01391/1.977, allocations: 7.539 MB / 0.7841 GB, free: 158.8 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/1.977, allocations: 4.594 kB / 0.7841 GB, free: 158.8 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006311/1.984, allocations: 3.611 MB / 0.7876 GB, free: 157.2 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006263/1.99, allocations: 1.032 MB / 0.7886 GB, free: 156.8 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03437/2.024, allocations: 18.05 MB / 0.8062 GB, free: 144 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008948/2.033, allocations: 6.55 MB / 0.8126 GB, free: 138.9 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005547/2.039, allocations: 2.104 MB / 0.8147 GB, free: 137.5 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/2.04, allocations: 356.9 kB / 0.815 GB, free: 137.2 MB / 0.5138 GB Notification: Performance of SimCode: time 1.393e-06/2.04, allocations: 0 / 0.815 GB, free: 137.2 MB / 0.5138 GB Notification: Performance of Templates: time 0.1051/2.145, allocations: 68.3 MB / 0.8817 GB, free: 70.32 MB / 0.5138 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_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_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches