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_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 110.9 kB / 19.03 MB, free: 3.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 194 kB / 22.22 MB, free: 228 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] 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_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_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=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 47.92 kB / 368.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2513, allocations: 52.15 MB / 420.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.0278/0.2791, allocations: 24.92 MB / 445.8 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01563/0.2948, allocations: 7.388 MB / 453.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006118/0.3009, allocations: 187.4 kB / 453.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02178/0.3227, allocations: 8.873 MB / 462.3 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01053/0.3332, allocations: 2.961 MB / 465.2 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005578/0.3388, allocations: 1.719 MB / 466.9 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01452/0.3533, allocations: 10.76 MB / 477.7 MB, free: 6.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02641/0.3797, allocations: 13.46 MB / 491.2 MB, free: 8.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01119/0.3909, allocations: 5.759 MB / 496.9 MB, free: 2.711 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01232/0.4032, allocations: 6.312 MB / 0.4914 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005013/0.4082, allocations: 1.668 MB / 0.4931 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008502/0.4167, allocations: 2.039 MB / 0.4951 GB, free: 8.672 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006393/0.4231, allocations: 3.157 MB / 0.4981 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01324/0.4364, allocations: 6.09 MB / 0.5041 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03133/0.4677, allocations: 22.38 MB / 0.5259 GB, free: 8.949 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4677, allocations: 0 / 0.5259 GB, free: 8.949 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.918e-06/0.4677, allocations: 4 kB / 0.5259 GB, free: 8.945 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006253/0.4683, allocations: 4 kB / 0.5259 GB, free: 8.941 MB / 446.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.444/0.9124, allocations: 12.93 MB / 0.5386 GB, free: 91.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.9124, allocations: 9.938 kB / 0.5386 GB, free: 91.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0348/0.9472, allocations: 6.248 MB / 0.5447 GB, free: 90.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01299/0.9602, allocations: 6.93 MB / 0.5514 GB, free: 86.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005814/0.9608, allocations: 0.7015 MB / 0.5521 GB, free: 85.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003291/0.9641, allocations: 0.9193 MB / 0.553 GB, free: 85.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03243/0.9965, allocations: 15.74 MB / 0.5684 GB, free: 70.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003263/0.9968, allocations: 23.88 kB / 0.5684 GB, free: 70.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002789/0.9996, allocations: 387.4 kB / 0.5688 GB, free: 69.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004146/1, allocations: 0.5508 MB / 0.5693 GB, free: 69.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02826/1.028, allocations: 14.77 MB / 0.5838 GB, free: 54.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07802/1.106, allocations: 51.11 MB / 0.6337 GB, free: 2.918 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02611/1.132, allocations: 26.07 MB / 0.6591 GB, free: 5.793 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005716/1.138, allocations: 2.929 MB / 0.662 GB, free: 2.855 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005464/1.139, allocations: 164.1 kB / 0.6621 GB, free: 2.676 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.098e-05/1.139, allocations: 77.69 kB / 0.6622 GB, free: 2.59 MB / 478.1 MB Notification: Performance of pre-optimization done (n=398): time 5.921e-06/1.139, allocations: 0 / 0.6622 GB, free: 2.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=404): time 0.04523/1.184, allocations: 17.38 MB / 0.6792 GB, free: 1.223 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/1.184, allocations: 94.58 kB / 0.6793 GB, free: 1.117 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006929/1.191, allocations: 3.7 MB / 0.6829 GB, free: 13.42 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0006028/1.192, allocations: 89.7 kB / 0.683 GB, free: 13.32 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003175/1.195, allocations: 4.115 MB / 0.687 GB, free: 9.172 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001844/1.197, allocations: 1.445 MB / 0.6884 GB, free: 7.715 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002951/1.2, allocations: 1.144 MB / 0.6895 GB, free: 6.559 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.2, allocations: 305.1 kB / 0.6898 GB, free: 6.258 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004855/1.205, allocations: 2.799 MB / 0.6926 GB, free: 3.453 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006578/1.211, allocations: 4.957 MB / 0.6974 GB, free: 13.5 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01237/1.224, allocations: 8.306 MB / 0.7055 GB, free: 4.191 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-05/1.224, allocations: 20 kB / 0.7055 GB, free: 4.172 MB / 0.5138 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01775/1.241, allocations: 9.086 MB / 0.7144 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.428e-05/1.241, allocations: 36 kB / 0.7144 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/1.242, allocations: 68 kB / 0.7145 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003558/1.245, allocations: 1.227 MB / 0.7157 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00483/1.25, allocations: 1.322 MB / 0.717 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01668/1.267, allocations: 9.93 MB / 0.7267 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004282/1.271, allocations: 335.6 kB / 0.727 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001095/1.272, allocations: 284 kB / 0.7273 GB, free: 13.73 MB / 0.545 GB 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.007116/1.279, allocations: 3.717 MB / 0.7309 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001309/1.28, allocations: 421.2 kB / 0.7313 GB, free: 9.586 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01366/1.294, allocations: 6.654 MB / 0.7378 GB, free: 2.898 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2617/1.556, allocations: 5.563 MB / 0.7432 GB, free: 185.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-05/1.556, allocations: 10.44 kB / 0.7432 GB, free: 185.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.742e-05/1.556, allocations: 21.38 kB / 0.7433 GB, free: 185.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02443/1.58, allocations: 15.73 MB / 0.7586 GB, free: 179.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/1.58, allocations: 3.906 kB / 0.7586 GB, free: 179.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002674/1.583, allocations: 0.7219 MB / 0.7593 GB, free: 179.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002844/1.586, allocations: 1.119 MB / 0.7604 GB, free: 179.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003855/1.586, allocations: 86.72 kB / 0.7605 GB, free: 179.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01112/1.597, allocations: 8.859 MB / 0.7692 GB, free: 174.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.597, allocations: 15.81 kB / 0.7692 GB, free: 174.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01302/1.61, allocations: 9.824 MB / 0.7788 GB, free: 170.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00206/1.612, allocations: 0.9769 MB / 0.7797 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006436/1.613, allocations: 79.94 kB / 0.7798 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001907/1.615, allocations: 205.8 kB / 0.78 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006698/1.616, allocations: 286.9 kB / 0.7803 GB, free: 169.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002279/1.616, allocations: 115.9 kB / 0.7804 GB, free: 169.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003156/1.619, allocations: 2.493 MB / 0.7828 GB, free: 166.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/1.619, allocations: 0 / 0.7828 GB, free: 166.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005264/1.624, allocations: 1.609 MB / 0.7844 GB, free: 165.1 MB / 0.545 GB 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.0007242/1.625, allocations: 285.3 kB / 0.7847 GB, free: 164.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009892/1.635, allocations: 6.865 MB / 0.7914 GB, free: 158 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.635, allocations: 8 kB / 0.7914 GB, free: 158 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005155/1.64, allocations: 3.161 MB / 0.7945 GB, free: 154.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005729/1.646, allocations: 0.9728 MB / 0.7954 GB, free: 153.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02781/1.674, allocations: 16.77 MB / 0.8118 GB, free: 137.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00853/1.682, allocations: 6.19 MB / 0.8178 GB, free: 130.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005669/1.688, allocations: 1.912 MB / 0.8197 GB, free: 128.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001482/1.689, allocations: 343.4 kB / 0.82 GB, free: 128.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.383e-06/1.689, allocations: 3.938 kB / 0.82 GB, free: 128.6 MB / 0.545 GB Notification: Performance of Templates: time 0.1051/1.794, allocations: 68.94 MB / 0.8873 GB, free: 60.17 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_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_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.91250597499311]