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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001506/0.001506, allocations: 105.4 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001681/0.001681, allocations: 215.3 kB / 23 MB, free: 5.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 230.2 MB / 256.2 MB, free: 8.539 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 63.91 kB / 376.5 MB, free: 3.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2456, allocations: 53.32 MB / 429.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02868/0.2743, allocations: 24.95 MB / 454.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01513/0.2895, allocations: 7.487 MB / 462.3 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004298/0.2938, allocations: 187.4 kB / 462.4 MB, free: 6.781 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02122/0.315, allocations: 8.881 MB / 471.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01111/0.3261, allocations: 2.96 MB / 474.3 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005658/0.3317, allocations: 1.745 MB / 476 MB, free: 9.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01536/0.3471, allocations: 10.85 MB / 486.9 MB, free: 14.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02616/0.3733, allocations: 13.47 MB / 0.4886 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008964/0.3822, allocations: 5.751 MB / 0.4942 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01046/0.3927, allocations: 6.362 MB / 0.5005 GB, free: 4.531 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00452/0.3972, allocations: 1.672 MB / 0.5021 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006256/0.4035, allocations: 2.046 MB / 0.5041 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005251/0.4087, allocations: 3.161 MB / 0.5072 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01047/0.4192, allocations: 6.102 MB / 0.5131 GB, free: 7.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02694/0.4461, allocations: 22.4 MB / 0.535 GB, free: 1.059 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4461, allocations: 0 / 0.535 GB, free: 1.059 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4461, allocations: 3.938 kB / 0.535 GB, free: 1.055 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005272/0.4467, allocations: 0 / 0.535 GB, free: 1.055 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.2603/0.707, allocations: 12.96 MB / 0.5477 GB, free: 86.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.707, allocations: 11.88 kB / 0.5477 GB, free: 86.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03331/0.7403, allocations: 6.184 MB / 0.5537 GB, free: 84.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01296/0.7533, allocations: 6.936 MB / 0.5605 GB, free: 77.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004672/0.7537, allocations: 0.698 MB / 0.5612 GB, free: 76.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003386/0.7571, allocations: 0.9173 MB / 0.5621 GB, free: 75.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03251/0.7896, allocations: 15.78 MB / 0.5775 GB, free: 59.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002785/0.7899, allocations: 11.89 kB / 0.5775 GB, free: 59.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002379/0.7923, allocations: 391.4 kB / 0.5779 GB, free: 59.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004221/0.7927, allocations: 0.5469 MB / 0.5784 GB, free: 58.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02536/0.8181, allocations: 14.81 MB / 0.5929 GB, free: 43.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07115/0.8892, allocations: 52.19 MB / 0.6438 GB, free: 6.477 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02716/0.9164, allocations: 26.11 MB / 0.6693 GB, free: 9.309 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005597/0.922, allocations: 2.929 MB / 0.6722 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005133/0.9225, allocations: 273.2 kB / 0.6724 GB, free: 6.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.549e-05/0.9226, allocations: 77.69 kB / 0.6725 GB, free: 5.984 MB / 494.1 MB Notification: Performance of pre-optimization done (n=398): time 5.5e-06/0.9226, allocations: 3.938 kB / 0.6725 GB, free: 5.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=404): time 0.0416/0.9642, allocations: 17.41 MB / 0.6895 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.985e-05/0.9643, allocations: 98.58 kB / 0.6896 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00601/0.9703, allocations: 3.697 MB / 0.6932 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004907/0.9708, allocations: 89.7 kB / 0.6933 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00342/0.9742, allocations: 4.127 MB / 0.6973 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001784/0.976, allocations: 1.449 MB / 0.6988 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001865/0.9778, allocations: 1.152 MB / 0.6999 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.978, allocations: 305.1 kB / 0.7002 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004432/0.9824, allocations: 2.803 MB / 0.7029 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006244/0.9886, allocations: 4.953 MB / 0.7077 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01162/1, allocations: 8.333 MB / 0.7159 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.637e-05/1, allocations: 20 kB / 0.7159 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01627/1.017, allocations: 9.106 MB / 0.7248 GB, free: 14.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.812e-05/1.017, allocations: 33.41 kB / 0.7248 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001214/1.017, allocations: 72 kB / 0.7249 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003385/1.02, allocations: 1.227 MB / 0.7261 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004829/1.025, allocations: 1.33 MB / 0.7274 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01595/1.041, allocations: 9.923 MB / 0.7371 GB, free: 1.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004081/1.045, allocations: 331.6 kB / 0.7374 GB, free: 1.191 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006827/1.046, allocations: 288 kB / 0.7377 GB, free: 0.9102 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.006078/1.052, allocations: 3.704 MB / 0.7413 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008918/1.053, allocations: 425.2 kB / 0.7417 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01185/1.064, allocations: 6.662 MB / 0.7482 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009253/1.074, allocations: 5.579 MB / 0.7537 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.781e-05/1.074, allocations: 16 kB / 0.7537 GB, free: 472 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.408e-05/1.074, allocations: 19.92 kB / 0.7537 GB, free: 452 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2233/1.297, allocations: 15.76 MB / 0.7691 GB, free: 193 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/1.297, allocations: 7.312 kB / 0.7691 GB, free: 193 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00254/1.3, allocations: 0.7279 MB / 0.7698 GB, free: 193 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002714/1.302, allocations: 1.118 MB / 0.7709 GB, free: 192.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002465/1.303, allocations: 93.61 kB / 0.771 GB, free: 192.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01042/1.313, allocations: 8.844 MB / 0.7796 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.313, allocations: 12.44 kB / 0.7796 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/1.325, allocations: 9.848 MB / 0.7892 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001968/1.327, allocations: 0.9818 MB / 0.7902 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004984/1.328, allocations: 81.95 kB / 0.7903 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001797/1.33, allocations: 197.5 kB / 0.7905 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006098/1.33, allocations: 296 kB / 0.7908 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002291/1.331, allocations: 119.7 kB / 0.7909 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002923/1.333, allocations: 2.499 MB / 0.7933 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.333, allocations: 0 / 0.7933 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004527/1.338, allocations: 1.607 MB / 0.7949 GB, free: 178.5 MB / 0.5606 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.0004868/1.338, allocations: 279.5 kB / 0.7951 GB, free: 178.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009066/1.348, allocations: 6.876 MB / 0.8019 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.348, allocations: 0 / 0.8019 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004525/1.352, allocations: 3.173 MB / 0.805 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004207/1.356, allocations: 0.9822 MB / 0.8059 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02179/1.378, allocations: 16.72 MB / 0.8222 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004567/1.383, allocations: 6.191 MB / 0.8283 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004082/1.387, allocations: 1.916 MB / 0.8302 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008916/1.388, allocations: 363.3 kB / 0.8305 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of SimCode: time 8.41e-07/1.388, allocations: 4 kB / 0.8305 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.09622/1.484, allocations: 69.36 MB / 0.8982 GB, free: 74.34 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.856093818321824]