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.IMS_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.001399/0.001399, allocations: 81.66 kB / 20.68 MB, free: 1.023 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.002042/0.002042, allocations: 151 kB / 23.94 MB, free: 4.164 MB / 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.397/1.397, allocations: 173.3 MB / 200.4 MB, free: 12.86 MB / 190.1 MB " [Timeout remaining time 179] 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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 319 MB, free: 3.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.741e-05, allocations: 2.281 kB / 319 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03514/0.03517, allocations: 23.19 MB / 342.2 MB, free: 3.676 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01801/0.05317, allocations: 7.752 MB / 349.9 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005488/0.05866, allocations: 238.8 kB / 350.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02351/0.08217, allocations: 9.234 MB / 359.4 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01262/0.09479, allocations: 3.444 MB / 362.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005593/0.1004, allocations: 1.817 MB / 364.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01791/0.1183, allocations: 12.65 MB / 377.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02602/0.1443, allocations: 15.87 MB / 393.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01817/0.1625, allocations: 9.719 MB / 402.9 MB, free: 7.359 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01203/0.1745, allocations: 6.268 MB / 409.1 MB, free: 1.078 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004273/0.1788, allocations: 1.832 MB / 411 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006239/0.185, allocations: 2.21 MB / 413.2 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004336/0.1894, allocations: 3.674 MB / 416.9 MB, free: 9.352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008972/0.1983, allocations: 4.628 MB / 421.5 MB, free: 4.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03007/0.2284, allocations: 25.08 MB / 446.6 MB, free: 11.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.2284, allocations: 4 kB / 446.6 MB, free: 11.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.2284, allocations: 3.938 kB / 446.6 MB, free: 11.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000654/0.2291, allocations: 0 / 446.6 MB, free: 11.55 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.04221/0.2713, allocations: 14.53 MB / 461.1 MB, free: 12.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.2713, allocations: 8.922 kB / 461.1 MB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04977/0.3211, allocations: 8.546 MB / 469.7 MB, free: 4.359 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3021/0.6232, allocations: 7.786 MB / 477.4 MB, free: 111.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009842/0.6242, allocations: 0.8055 MB / 478.3 MB, free: 111.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004362/0.6286, allocations: 1.064 MB / 479.3 MB, free: 110.9 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03964/0.6682, allocations: 18.5 MB / 497.8 MB, free: 103.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002839/0.6685, allocations: 21.23 kB / 497.8 MB, free: 103.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002125/0.6706, allocations: 450.4 kB / 498.3 MB, free: 103 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005098/0.6711, allocations: 0.6706 MB / 498.9 MB, free: 103 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03002/0.7011, allocations: 17.44 MB / 0.5043 GB, free: 90.18 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07635/0.7775, allocations: 50.23 MB / 0.5533 GB, free: 39.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0198/0.7973, allocations: 12.62 MB / 0.5657 GB, free: 29.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004857/0.8022, allocations: 3.727 MB / 0.5693 GB, free: 25.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003448/0.8025, allocations: 104 kB / 0.5694 GB, free: 25.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.016e-05/0.8025, allocations: 86.62 kB / 0.5695 GB, free: 25.33 MB / 430.1 MB Notification: Performance of pre-optimization done (n=518): time 8.446e-06/0.8026, allocations: 0 / 0.5695 GB, free: 25.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=524): time 0.03965/0.8422, allocations: 21.18 MB / 0.5902 GB, free: 4.398 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.8423, allocations: 103.5 kB / 0.5903 GB, free: 4.281 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004408/0.8467, allocations: 3.986 MB / 0.5941 GB, free: 424 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004667/0.8471, allocations: 117.6 kB / 0.5943 GB, free: 300 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003478/0.8506, allocations: 4.669 MB / 0.5988 GB, free: 11.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002018/0.8526, allocations: 1.834 MB / 0.6006 GB, free: 9.938 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002243/0.8549, allocations: 1.347 MB / 0.6019 GB, free: 8.582 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.855, allocations: 309 kB / 0.6022 GB, free: 8.277 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005737/0.8607, allocations: 3.43 MB / 0.6056 GB, free: 4.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00786/0.8686, allocations: 5.883 MB / 0.6113 GB, free: 13.86 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01492/0.8835, allocations: 9.996 MB / 0.6211 GB, free: 2.691 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.145e-05/0.8836, allocations: 20 kB / 0.6211 GB, free: 2.672 MB / 462.1 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02054/0.9041, allocations: 10.85 MB / 0.6317 GB, free: 7.73 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.476e-05/0.9042, allocations: 40 kB / 0.6317 GB, free: 7.691 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001442/0.9044, allocations: 76 kB / 0.6318 GB, free: 7.617 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004211/0.9086, allocations: 1.382 MB / 0.6332 GB, free: 6.234 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006889/0.9155, allocations: 1.614 MB / 0.6347 GB, free: 4.617 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1935/1.109, allocations: 10.93 MB / 0.6454 GB, free: 137.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005015/1.114, allocations: 401.3 kB / 0.6458 GB, free: 137.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008978/1.115, allocations: 333.1 kB / 0.6461 GB, free: 137.4 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006076/1.121, allocations: 4.167 MB / 0.6502 GB, free: 135.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/1.122, allocations: 477.2 kB / 0.6506 GB, free: 135.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01468/1.137, allocations: 8.374 MB / 0.6588 GB, free: 132.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01021/1.147, allocations: 7.002 MB / 0.6656 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-05/1.147, allocations: 14.66 kB / 0.6657 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.387e-05/1.147, allocations: 25.45 kB / 0.6657 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02619/1.173, allocations: 16.1 MB / 0.6814 GB, free: 123 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/1.173, allocations: 0 / 0.6814 GB, free: 123 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003746/1.177, allocations: 0.935 MB / 0.6823 GB, free: 123 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003196/1.18, allocations: 1.23 MB / 0.6835 GB, free: 122.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005598/1.181, allocations: 112.5 kB / 0.6836 GB, free: 122.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02059/1.201, allocations: 9.645 MB / 0.693 GB, free: 116.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/1.201, allocations: 3.938 kB / 0.693 GB, free: 116.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02784/1.229, allocations: 12.17 MB / 0.7049 GB, free: 105.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002867/1.232, allocations: 1.094 MB / 0.706 GB, free: 105 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007217/1.233, allocations: 95.94 kB / 0.7061 GB, free: 104.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002322/1.235, allocations: 274.1 kB / 0.7064 GB, free: 104.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006991/1.236, allocations: 360.3 kB / 0.7067 GB, free: 104.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002827/1.236, allocations: 152 kB / 0.7068 GB, free: 104.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003039/1.239, allocations: 2.572 MB / 0.7094 GB, free: 101.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/1.239, allocations: 0 / 0.7094 GB, free: 101.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005409/1.244, allocations: 1.92 MB / 0.7112 GB, free: 99.62 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.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 (499): * Single equations (assignments): 497 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006498/1.245, allocations: 305.8 kB / 0.7115 GB, free: 99.34 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01113/1.256, allocations: 8.354 MB / 0.7197 GB, free: 90.93 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.256, allocations: 0 / 0.7197 GB, free: 90.93 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005322/1.262, allocations: 3.879 MB / 0.7235 GB, free: 87.04 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004377/1.266, allocations: 0.9988 MB / 0.7244 GB, free: 86.07 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02727/1.293, allocations: 19.48 MB / 0.7435 GB, free: 66.49 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005427/1.299, allocations: 6.577 MB / 0.7499 GB, free: 59.86 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005134/1.304, allocations: 2.288 MB / 0.7521 GB, free: 57.56 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/1.305, allocations: 408.4 kB / 0.7525 GB, free: 57.16 MB / 478.1 MB Notification: Performance of SimCode: time 1.122e-06/1.305, allocations: 0 / 0.7525 GB, free: 57.16 MB / 478.1 MB Notification: Performance of Templates: time 0.2723/1.577, allocations: 70.54 MB / 0.8214 GB, free: 149.6 MB / 494.1 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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.967797864228487]