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.002007/0.002007, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002396/0.002396, allocations: 202.2 kB / 23.72 MB, free: 4.391 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.519/1.519, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.002067/0.002067, allocations: 59.91 kB / 378.3 MB, free: 2.277 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2226, allocations: 53.41 MB / 431.7 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02678/0.2494, allocations: 21.37 MB / 453 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01691/0.2663, allocations: 7.169 MB / 460.2 MB, free: 9.844 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006012/0.2723, allocations: 222.9 kB / 460.4 MB, free: 9.625 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02155/0.2939, allocations: 8.211 MB / 468.6 MB, free: 1.398 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01072/0.3046, allocations: 2.957 MB / 471.6 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005998/0.3106, allocations: 1.709 MB / 473.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01592/0.3265, allocations: 10.93 MB / 484.2 MB, free: 1.762 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02862/0.3551, allocations: 14.18 MB / 498.4 MB, free: 3.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00913/0.3643, allocations: 5.865 MB / 0.4925 GB, free: 13.56 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01022/0.3745, allocations: 6.077 MB / 0.4984 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003779/0.3783, allocations: 1.668 MB / 0.5 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005469/0.3837, allocations: 2.035 MB / 0.502 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004485/0.3882, allocations: 3.168 MB / 0.5051 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008738/0.397, allocations: 4.705 MB / 0.5097 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02714/0.4241, allocations: 22.48 MB / 0.5317 GB, free: 5.312 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.4241, allocations: 0 / 0.5317 GB, free: 5.312 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4241, allocations: 0 / 0.5317 GB, free: 5.312 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006078/0.4247, allocations: 3.984 kB / 0.5317 GB, free: 5.309 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.4394/0.8641, allocations: 12.88 MB / 0.5442 GB, free: 89.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.8641, allocations: 19.45 kB / 0.5443 GB, free: 89.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03481/0.899, allocations: 6.176 MB / 0.5503 GB, free: 84.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0154/0.9144, allocations: 7.013 MB / 0.5571 GB, free: 77.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005769/0.9149, allocations: 0.7008 MB / 0.5578 GB, free: 76.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003701/0.9186, allocations: 0.9212 MB / 0.5587 GB, free: 75.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03238/0.951, allocations: 15.92 MB / 0.5743 GB, free: 59.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002338/0.9513, allocations: 15.89 kB / 0.5743 GB, free: 59.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001492/0.9527, allocations: 391.2 kB / 0.5747 GB, free: 59.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004302/0.9532, allocations: 0.5547 MB / 0.5752 GB, free: 58.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02763/0.9808, allocations: 14.74 MB / 0.5896 GB, free: 44.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07213/1.053, allocations: 44.07 MB / 0.6326 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02086/1.074, allocations: 9.192 MB / 0.6416 GB, free: 7.633 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006218/1.08, allocations: 2.928 MB / 0.6445 GB, free: 4.707 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004268/1.08, allocations: 107 kB / 0.6446 GB, free: 4.602 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.725e-05/1.081, allocations: 73.69 kB / 0.6446 GB, free: 4.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=398): time 7.424e-06/1.081, allocations: 4 kB / 0.6446 GB, free: 4.516 MB / 462.1 MB Notification: Performance of matching and sorting (n=404): time 0.04385/1.124, allocations: 17.08 MB / 0.6613 GB, free: 3.488 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.614e-05/1.124, allocations: 90.58 kB / 0.6614 GB, free: 3.387 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00676/1.131, allocations: 3.592 MB / 0.6649 GB, free: 15.78 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008863/1.132, allocations: 89.7 kB / 0.665 GB, free: 15.69 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003712/1.136, allocations: 4.141 MB / 0.669 GB, free: 11.51 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001986/1.138, allocations: 1.445 MB / 0.6705 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002162/1.14, allocations: 1.152 MB / 0.6716 GB, free: 8.891 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/1.14, allocations: 301.1 kB / 0.6719 GB, free: 8.594 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005104/1.145, allocations: 2.795 MB / 0.6746 GB, free: 5.793 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007672/1.153, allocations: 4.982 MB / 0.6795 GB, free: 15.81 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01358/1.166, allocations: 8.31 MB / 0.6876 GB, free: 6.5 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.864e-05/1.167, allocations: 20 kB / 0.6876 GB, free: 6.48 MB / 0.4982 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01941/1.186, allocations: 9.055 MB / 0.6964 GB, free: 13.4 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.763e-05/1.186, allocations: 36 kB / 0.6965 GB, free: 13.36 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000131/1.186, allocations: 71.94 kB / 0.6965 GB, free: 13.29 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003472/1.19, allocations: 1.194 MB / 0.6977 GB, free: 12.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00527/1.195, allocations: 1.322 MB / 0.699 GB, free: 10.77 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01693/1.212, allocations: 9.459 MB / 0.7082 GB, free: 1.203 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00449/1.216, allocations: 335.6 kB / 0.7086 GB, free: 0.875 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001157/1.218, allocations: 291.9 kB / 0.7088 GB, free: 0.5898 MB / 0.5138 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.008653/1.226, allocations: 3.708 MB / 0.7125 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001226/1.227, allocations: 405.4 kB / 0.7128 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01357/1.241, allocations: 6.613 MB / 0.7193 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01182/1.253, allocations: 5.548 MB / 0.7247 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.148e-05/1.253, allocations: 8 kB / 0.7247 GB, free: 244 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-05/1.253, allocations: 19.92 kB / 0.7248 GB, free: 224 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03654/1.289, allocations: 13.44 MB / 0.7379 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.636e-05/1.289, allocations: 4 kB / 0.7379 GB, free: 2.602 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003593/1.293, allocations: 0.7294 MB / 0.7386 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003474/1.297, allocations: 1.077 MB / 0.7396 GB, free: 0.793 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007087/1.297, allocations: 95.97 kB / 0.7397 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01599/1.313, allocations: 8.419 MB / 0.748 GB, free: 8.18 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-06/1.313, allocations: 11.88 kB / 0.748 GB, free: 8.168 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2862/1.599, allocations: 9.783 MB / 0.7575 GB, free: 193.7 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003147/1.603, allocations: 0.8986 MB / 0.7584 GB, free: 193.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008164/1.603, allocations: 76.25 kB / 0.7585 GB, free: 193.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00218/1.606, allocations: 195.3 kB / 0.7587 GB, free: 193.7 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006934/1.606, allocations: 307.1 kB / 0.759 GB, free: 193.7 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002744/1.607, allocations: 125.6 kB / 0.7591 GB, free: 193.7 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004011/1.611, allocations: 2.327 MB / 0.7613 GB, free: 193.5 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.8e-07/1.611, allocations: 2.406 kB / 0.7613 GB, free: 193.5 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.005871/1.616, allocations: 1.605 MB / 0.7629 GB, free: 193.3 MB / 0.5607 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.000787/1.617, allocations: 271.4 kB / 0.7632 GB, free: 193.2 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01077/1.628, allocations: 6.858 MB / 0.7699 GB, free: 190.6 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/1.628, allocations: 0 / 0.7699 GB, free: 190.6 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005939/1.634, allocations: 3.169 MB / 0.773 GB, free: 189.3 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00434/1.638, allocations: 0.8711 MB / 0.7738 GB, free: 189 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02265/1.661, allocations: 16.69 MB / 0.7901 GB, free: 178.4 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005137/1.666, allocations: 5.735 MB / 0.7957 GB, free: 174.1 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004538/1.671, allocations: 1.885 MB / 0.7976 GB, free: 172.8 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009898/1.672, allocations: 354.1 kB / 0.7979 GB, free: 172.5 MB / 0.5607 GB Notification: Performance of SimCode: time 1.513e-06/1.672, allocations: 4 kB / 0.7979 GB, free: 172.5 MB / 0.5607 GB Notification: Performance of Templates: time 0.09357/1.765, allocations: 69.74 MB / 0.866 GB, free: 104.8 MB / 0.5607 GB " [Timeout remaining time 658] 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: 8.244174525141716]