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.001545/0.001545, allocations: 117.2 kB / 18.5 MB, free: 4.543 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.001924/0.001924, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.481/1.481, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.001939/0.001939, allocations: 59.91 kB / 373.9 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1096, allocations: 53.32 MB / 427.2 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.2201/0.3297, allocations: 24.9 MB / 452.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01958/0.3492, allocations: 7.474 MB / 459.6 MB, free: 6.875 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007415/0.3567, allocations: 190.4 kB / 459.7 MB, free: 6.836 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02141/0.3781, allocations: 8.887 MB / 468.6 MB, free: 1.434 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01198/0.39, allocations: 2.961 MB / 471.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005603/0.3957, allocations: 1.74 MB / 473.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01572/0.4114, allocations: 10.83 MB / 484.2 MB, free: 7.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02962/0.441, allocations: 16.58 MB / 0.489 GB, free: 7.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0112/0.4522, allocations: 5.744 MB / 0.4946 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01186/0.464, allocations: 6.347 MB / 0.5008 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004578/0.4686, allocations: 1.668 MB / 0.5024 GB, free: 9.438 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006902/0.4755, allocations: 2.058 MB / 0.5044 GB, free: 7.379 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004948/0.4805, allocations: 3.16 MB / 0.5075 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01041/0.4909, allocations: 6.087 MB / 0.5135 GB, free: 14.1 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02911/0.52, allocations: 22.41 MB / 0.5354 GB, free: 7.625 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/0.52, allocations: 4 kB / 0.5354 GB, free: 7.621 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.52, allocations: 0 / 0.5354 GB, free: 7.621 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006438/0.5206, allocations: 0 / 0.5354 GB, free: 7.621 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.03927/0.5599, allocations: 12.96 MB / 0.548 GB, free: 10.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.56, allocations: 12.03 kB / 0.548 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03672/0.5967, allocations: 6.183 MB / 0.5541 GB, free: 4.348 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01523/0.6119, allocations: 6.938 MB / 0.5608 GB, free: 13.35 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007475/0.6127, allocations: 0.7063 MB / 0.5615 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003664/0.6163, allocations: 0.9217 MB / 0.5624 GB, free: 11.72 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04036/0.6567, allocations: 15.77 MB / 0.5778 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004127/0.6571, allocations: 11.95 kB / 0.5778 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002991/0.6601, allocations: 392 kB / 0.5782 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006818/0.6608, allocations: 0.5547 MB / 0.5788 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03643/0.6972, allocations: 14.81 MB / 0.5932 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5147/1.212, allocations: 52.17 MB / 0.6442 GB, free: 123.7 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02288/1.235, allocations: 26.1 MB / 0.6697 GB, free: 102.5 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008074/1.243, allocations: 2.931 MB / 0.6725 GB, free: 101.6 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000668/1.244, allocations: 281.5 kB / 0.6728 GB, free: 101.4 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.078e-05/1.244, allocations: 69.53 kB / 0.6729 GB, free: 101.3 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=398): time 6.623e-06/1.244, allocations: 0 / 0.6729 GB, free: 101.3 MB / 0.5138 GB Notification: Performance of matching and sorting (n=404): time 0.03872/1.282, allocations: 17.43 MB / 0.6899 GB, free: 94.05 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/1.282, allocations: 95.11 kB / 0.69 GB, free: 93.98 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004878/1.287, allocations: 3.695 MB / 0.6936 GB, free: 92.06 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007869/1.288, allocations: 96.58 kB / 0.6937 GB, free: 91.97 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001954/1.29, allocations: 4.126 MB / 0.6977 GB, free: 88.89 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001326/1.291, allocations: 1.442 MB / 0.6991 GB, free: 87.64 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001474/1.293, allocations: 1.157 MB / 0.7002 GB, free: 86.98 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.094e-05/1.293, allocations: 305.1 kB / 0.7005 GB, free: 86.68 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003489/1.296, allocations: 2.8 MB / 0.7033 GB, free: 85.16 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004388/1.301, allocations: 4.961 MB / 0.7081 GB, free: 80.78 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008982/1.31, allocations: 8.325 MB / 0.7162 GB, free: 74.49 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.213e-05/1.31, allocations: 20 kB / 0.7163 GB, free: 74.47 MB / 0.5138 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01366/1.323, allocations: 9.102 MB / 0.7251 GB, free: 65.35 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.545e-05/1.323, allocations: 36 kB / 0.7252 GB, free: 65.32 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001009/1.324, allocations: 72 kB / 0.7252 GB, free: 65.25 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003029/1.327, allocations: 1.219 MB / 0.7264 GB, free: 64.02 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004657/1.331, allocations: 1.33 MB / 0.7277 GB, free: 62.69 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/1.344, allocations: 9.919 MB / 0.7374 GB, free: 52.64 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004955/1.349, allocations: 335.5 kB / 0.7377 GB, free: 52.31 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001143/1.35, allocations: 292 kB / 0.738 GB, free: 52.02 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.0072/1.357, allocations: 3.708 MB / 0.7416 GB, free: 48.3 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001547/1.359, allocations: 417.3 kB / 0.742 GB, free: 47.89 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0131/1.372, allocations: 6.661 MB / 0.7485 GB, free: 41.2 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008902/1.381, allocations: 5.587 MB / 0.754 GB, free: 35.59 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.32e-05/1.381, allocations: 12 kB / 0.754 GB, free: 35.57 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.627e-05/1.381, allocations: 23.91 kB / 0.754 GB, free: 35.55 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02797/1.409, allocations: 15.75 MB / 0.7694 GB, free: 19.71 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/1.409, allocations: 5.156 kB / 0.7694 GB, free: 19.71 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002687/1.411, allocations: 0.7294 MB / 0.7701 GB, free: 18.98 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002877/1.414, allocations: 1.113 MB / 0.7712 GB, free: 17.86 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003649/1.415, allocations: 95.97 kB / 0.7713 GB, free: 17.77 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01068/1.425, allocations: 8.859 MB / 0.78 GB, free: 8.781 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.425, allocations: 11.94 kB / 0.78 GB, free: 8.77 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01411/1.439, allocations: 9.858 MB / 0.7896 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002621/1.442, allocations: 0.9784 MB / 0.7906 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006482/1.443, allocations: 79.98 kB / 0.7906 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00206/1.445, allocations: 199.9 kB / 0.7908 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007133/1.445, allocations: 287.3 kB / 0.7911 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002765/1.446, allocations: 124 kB / 0.7912 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004087/1.45, allocations: 2.499 MB / 0.7937 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/1.45, allocations: 0 / 0.7937 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006565/1.456, allocations: 1.613 MB / 0.7952 GB, free: 9.02 MB / 0.5294 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.000743/1.457, allocations: 280.1 kB / 0.7955 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01358/1.471, allocations: 6.862 MB / 0.8022 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/1.471, allocations: 0 / 0.8022 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007249/1.478, allocations: 3.175 MB / 0.8053 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006057/1.484, allocations: 0.9749 MB / 0.8063 GB, free: 13.74 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03555/1.519, allocations: 16.58 MB / 0.8224 GB, free: 13.05 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008974/1.528, allocations: 6.194 MB / 0.8285 GB, free: 6.805 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005673/1.534, allocations: 1.919 MB / 0.8304 GB, free: 4.879 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/1.535, allocations: 363.3 kB / 0.8307 GB, free: 4.523 MB / 0.5607 GB Notification: Performance of SimCode: time 8.52e-07/1.535, allocations: 0 / 0.8307 GB, free: 4.523 MB / 0.5607 GB Notification: Performance of Templates: time 0.3318/1.867, allocations: 67.68 MB / 0.8968 GB, free: 150.1 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: 7.973255414515734]