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.001841/0.001841, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.001873/0.001873, allocations: 160.8 kB / 24.27 MB, free: 160 kB / 18.57 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.555/1.555, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 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 1.433e-06/1.433e-06, allocations: 0 / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.415e-05, allocations: 2.312 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1434/0.1434, allocations: 24.17 MB / 296.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01442/0.1578, allocations: 7.369 MB / 303.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004844/0.1627, allocations: 222.9 kB / 304 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01857/0.1812, allocations: 9.382 MB / 313.4 MB, free: 7.227 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009269/0.1905, allocations: 3.041 MB / 316.4 MB, free: 4.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004369/0.1949, allocations: 1.747 MB / 318.2 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01394/0.2088, allocations: 11.29 MB / 329.4 MB, free: 9.707 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02555/0.2344, allocations: 14.23 MB / 343.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01737/0.2517, allocations: 8.686 MB / 352.4 MB, free: 2.641 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0119/0.2636, allocations: 6.032 MB / 358.4 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004162/0.2678, allocations: 1.668 MB / 360.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006287/0.2741, allocations: 2.062 MB / 362.1 MB, free: 8.863 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004571/0.2787, allocations: 3.269 MB / 365.4 MB, free: 5.586 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008279/0.2869, allocations: 4.129 MB / 369.5 MB, free: 1.449 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02935/0.3163, allocations: 22.85 MB / 392.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3163, allocations: 0 / 392.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3163, allocations: 0 / 392.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004708/0.3168, allocations: 4 kB / 392.4 MB, free: 10.53 MB / 346.7 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.04519/0.3619, allocations: 14.83 MB / 407.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/0.362, allocations: 11.98 kB / 407.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0411/0.4031, allocations: 7.744 MB / 415 MB, free: 3.836 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01844/0.4215, allocations: 6.736 MB / 421.7 MB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007977/0.4223, allocations: 0.6985 MB / 422.4 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003561/0.4259, allocations: 0.9218 MB / 423.3 MB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2766/0.7025, allocations: 16.24 MB / 439.6 MB, free: 101.7 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003899/0.7029, allocations: 9.969 kB / 439.6 MB, free: 101.7 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002335/0.7053, allocations: 390.2 kB / 439.9 MB, free: 101.7 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008503/0.7061, allocations: 0.5498 MB / 440.5 MB, free: 101.7 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03717/0.7433, allocations: 13.12 MB / 453.6 MB, free: 97.02 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.104/0.8473, allocations: 103.3 MB / 0.5439 GB, free: 12.73 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01951/0.8668, allocations: 8.68 MB / 0.5523 GB, free: 5.121 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005067/0.8719, allocations: 2.483 MB / 0.5548 GB, free: 2.637 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004223/0.8723, allocations: 127 kB / 0.5549 GB, free: 2.512 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.481e-05/0.8724, allocations: 72.52 kB / 0.5549 GB, free: 2.43 MB / 394.8 MB Notification: Performance of pre-optimization done (n=398): time 6.843e-06/0.8724, allocations: 0 / 0.5549 GB, free: 2.43 MB / 394.8 MB Notification: Performance of matching and sorting (n=404): time 0.04192/0.9143, allocations: 15.02 MB / 0.5696 GB, free: 3.75 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.375e-05/0.9144, allocations: 90.58 kB / 0.5697 GB, free: 3.648 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1669/1.081, allocations: 5.392 MB / 0.575 GB, free: 114.4 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007541/1.082, allocations: 92.61 kB / 0.5751 GB, free: 114.3 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002982/1.085, allocations: 4.645 MB / 0.5796 GB, free: 113.1 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001588/1.087, allocations: 1.596 MB / 0.5812 GB, free: 112.1 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002305/1.089, allocations: 1.538 MB / 0.5827 GB, free: 112 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.036e-05/1.089, allocations: 482.1 kB / 0.5831 GB, free: 111.6 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003639/1.093, allocations: 2.253 MB / 0.5853 GB, free: 111.5 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004906/1.098, allocations: 5.745 MB / 0.5909 GB, free: 107.7 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008282/1.106, allocations: 8.91 MB / 0.5996 GB, free: 103.6 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.126e-05/1.106, allocations: 20.59 kB / 0.5996 GB, free: 103.6 MB / 410.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01233/1.118, allocations: 8.321 MB / 0.6078 GB, free: 101.1 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.56e-05/1.118, allocations: 37.22 kB / 0.6078 GB, free: 101.1 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001198/1.118, allocations: 69.53 kB / 0.6079 GB, free: 101.1 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003837/1.122, allocations: 1.388 MB / 0.6092 GB, free: 100.8 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004408/1.127, allocations: 1.324 MB / 0.6105 GB, free: 100.7 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/1.139, allocations: 10.12 MB / 0.6204 GB, free: 94.95 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00394/1.143, allocations: 322.2 kB / 0.6207 GB, free: 94.84 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004246/1.144, allocations: 294 kB / 0.621 GB, free: 94.79 MB / 410.8 MB 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.004083/1.148, allocations: 3.418 MB / 0.6243 GB, free: 92.93 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008967/1.149, allocations: 0.5117 MB / 0.6248 GB, free: 92.67 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009014/1.158, allocations: 5.665 MB / 0.6304 GB, free: 90.51 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006635/1.164, allocations: 4.682 MB / 0.6349 GB, free: 86.93 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/1.164, allocations: 12 kB / 0.635 GB, free: 86.92 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.772e-05/1.164, allocations: 23.92 kB / 0.635 GB, free: 86.89 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02366/1.188, allocations: 17.47 MB / 0.652 GB, free: 69.2 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/1.188, allocations: 4 kB / 0.652 GB, free: 69.2 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002749/1.191, allocations: 0.7183 MB / 0.6527 GB, free: 68.48 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003504/1.194, allocations: 1.269 MB / 0.654 GB, free: 67.21 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003242/1.195, allocations: 95.97 kB / 0.6541 GB, free: 67.12 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01074/1.205, allocations: 9.105 MB / 0.663 GB, free: 57.91 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.205, allocations: 4 kB / 0.663 GB, free: 57.9 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01134/1.217, allocations: 8.241 MB / 0.671 GB, free: 49.52 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002354/1.219, allocations: 0.8212 MB / 0.6718 GB, free: 48.7 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005992/1.22, allocations: 76 kB / 0.6719 GB, free: 48.62 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/1.222, allocations: 199.7 kB / 0.6721 GB, free: 48.43 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005913/1.222, allocations: 303.1 kB / 0.6724 GB, free: 48.13 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002288/1.222, allocations: 128 kB / 0.6725 GB, free: 48 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003047/1.225, allocations: 2.658 MB / 0.6751 GB, free: 45.35 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/1.225, allocations: 0 / 0.6751 GB, free: 45.35 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.00499/1.23, allocations: 1.605 MB / 0.6767 GB, free: 43.75 MB / 410.8 MB 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.0005787/1.231, allocations: 274.1 kB / 0.6769 GB, free: 43.48 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.009517/1.241, allocations: 6.595 MB / 0.6834 GB, free: 36.84 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/1.241, allocations: 0 / 0.6834 GB, free: 36.84 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004642/1.245, allocations: 3.1 MB / 0.6864 GB, free: 33.73 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003959/1.249, allocations: 0.911 MB / 0.6873 GB, free: 32.87 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01988/1.269, allocations: 15.54 MB / 0.7024 GB, free: 17.14 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004168/1.273, allocations: 5.229 MB / 0.7076 GB, free: 11.86 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.004112/1.277, allocations: 1.617 MB / 0.7091 GB, free: 10.24 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009824/1.278, allocations: 356.4 kB / 0.7095 GB, free: 9.891 MB / 410.8 MB Notification: Performance of SimCode: time 2.294e-06/1.278, allocations: 0 / 0.7095 GB, free: 9.891 MB / 410.8 MB Notification: Performance of Templates: time 0.2373/1.516, allocations: 60.34 MB / 0.7684 GB, free: 98.25 MB / 426.8 MB " [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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] 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.964404597994871]