Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 87.67 kB / 20.96 MB, free: 3.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002045/0.002045, allocations: 161.3 kB / 24.27 MB, free: 136 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 272.4 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.571e-05, allocations: 6.312 kB / 272.4 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.142/0.1421, allocations: 26.29 MB / 298.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01566/0.1577, allocations: 8.072 MB / 306.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005879/0.1636, allocations: 236.7 kB / 307 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02/0.1836, allocations: 9.992 MB / 316.9 MB, free: 4.672 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00999/0.1936, allocations: 3.459 MB / 320.4 MB, free: 1.938 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004597/0.1982, allocations: 1.829 MB / 322.2 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01874/0.2169, allocations: 12.78 MB / 335 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02975/0.2467, allocations: 15.9 MB / 350.9 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02079/0.2675, allocations: 9.813 MB / 360.7 MB, free: 10.37 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01482/0.2823, allocations: 6.94 MB / 367.7 MB, free: 3.414 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005106/0.2874, allocations: 1.836 MB / 369.5 MB, free: 1.578 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007619/0.295, allocations: 2.23 MB / 371.7 MB, free: 15.35 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006145/0.3011, allocations: 3.737 MB / 375.5 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01083/0.312, allocations: 4.694 MB / 380.2 MB, free: 6.898 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03614/0.3481, allocations: 25.27 MB / 405.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.3481, allocations: 4 kB / 405.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3481, allocations: 0 / 405.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005533/0.3487, allocations: 0 / 405.4 MB, free: 13.55 MB / 362.7 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.04829/0.397, allocations: 16.77 MB / 422.2 MB, free: 12.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.397, allocations: 8.031 kB / 422.2 MB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05398/0.451, allocations: 10.38 MB / 432.6 MB, free: 2.277 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.239/0.69, allocations: 7.415 MB / 440 MB, free: 102.3 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00087/0.6909, allocations: 0.8055 MB / 440.8 MB, free: 102.3 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003949/0.6948, allocations: 1.068 MB / 441.9 MB, free: 102.2 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04056/0.7354, allocations: 18.73 MB / 460.6 MB, free: 94.41 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004353/0.7358, allocations: 13.48 kB / 460.6 MB, free: 94.41 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003604/0.7394, allocations: 451.7 kB / 461.1 MB, free: 94.07 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006014/0.74, allocations: 0.671 MB / 461.7 MB, free: 94 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0306/0.7706, allocations: 15.5 MB / 477.2 MB, free: 79.45 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1288/0.8994, allocations: 105.8 MB / 0.5694 GB, free: 1.426 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0273/0.9267, allocations: 11.93 MB / 0.581 GB, free: 7.484 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007154/0.9338, allocations: 3.172 MB / 0.5841 GB, free: 4.281 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006904/0.9345, allocations: 156 kB / 0.5843 GB, free: 4.125 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000126/0.9346, allocations: 89.45 kB / 0.5844 GB, free: 4.023 MB / 426.8 MB Notification: Performance of pre-optimization done (n=518): time 1.002e-05/0.9346, allocations: 0 / 0.5844 GB, free: 4.023 MB / 426.8 MB Notification: Performance of matching and sorting (n=524): time 0.1832/1.118, allocations: 18.53 MB / 0.6025 GB, free: 123.3 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/1.118, allocations: 107.4 kB / 0.6026 GB, free: 123.2 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00691/1.125, allocations: 5.759 MB / 0.6082 GB, free: 122.8 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007352/1.126, allocations: 110.8 kB / 0.6083 GB, free: 122.7 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002654/1.128, allocations: 5.228 MB / 0.6134 GB, free: 120.5 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001701/1.13, allocations: 2.04 MB / 0.6154 GB, free: 119.3 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002255/1.132, allocations: 1.782 MB / 0.6171 GB, free: 119.2 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 5.259e-05/1.132, allocations: 484.2 kB / 0.6176 GB, free: 118.7 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003656/1.136, allocations: 2.75 MB / 0.6203 GB, free: 118.7 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005112/1.141, allocations: 6.679 MB / 0.6268 GB, free: 113.2 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/1.151, allocations: 10.72 MB / 0.6373 GB, free: 105.8 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001086/1.152, allocations: 26.03 kB / 0.6373 GB, free: 105.7 MB / 426.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.0158/1.167, allocations: 9.926 MB / 0.647 GB, free: 101.9 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.97e-05/1.167, allocations: 38.94 kB / 0.647 GB, free: 101.9 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001363/1.168, allocations: 76.03 kB / 0.6471 GB, free: 101.9 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004408/1.172, allocations: 1.622 MB / 0.6487 GB, free: 101.5 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00572/1.178, allocations: 1.612 MB / 0.6503 GB, free: 100.8 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01399/1.192, allocations: 11.6 MB / 0.6616 GB, free: 89.13 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004921/1.197, allocations: 403.4 kB / 0.662 GB, free: 88.74 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008958/1.197, allocations: 339.9 kB / 0.6623 GB, free: 88.41 MB / 426.8 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.005125/1.203, allocations: 3.8 MB / 0.666 GB, free: 84.59 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001322/1.204, allocations: 0.6298 MB / 0.6666 GB, free: 83.96 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01137/1.215, allocations: 7.146 MB / 0.6736 GB, free: 76.71 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008876/1.224, allocations: 5.892 MB / 0.6794 GB, free: 70.73 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.107e-05/1.224, allocations: 12.88 kB / 0.6794 GB, free: 70.72 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-05/1.224, allocations: 27.89 kB / 0.6794 GB, free: 70.69 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03441/1.259, allocations: 20.47 MB / 0.6994 GB, free: 50.02 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-05/1.259, allocations: 4.281 kB / 0.6994 GB, free: 50.02 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003665/1.262, allocations: 0.9439 MB / 0.7003 GB, free: 49.07 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004086/1.266, allocations: 1.458 MB / 0.7017 GB, free: 47.61 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005795/1.267, allocations: 116 kB / 0.7019 GB, free: 47.49 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01231/1.279, allocations: 10.35 MB / 0.712 GB, free: 37.03 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.279, allocations: 6.938 kB / 0.712 GB, free: 37.02 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0147/1.294, allocations: 10.05 MB / 0.7218 GB, free: 26.75 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003256/1.297, allocations: 1.008 MB / 0.7228 GB, free: 25.74 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009202/1.298, allocations: 96.03 kB / 0.7229 GB, free: 25.65 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002651/1.301, allocations: 259.7 kB / 0.7231 GB, free: 25.39 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007276/1.302, allocations: 376.2 kB / 0.7235 GB, free: 25.02 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002956/1.302, allocations: 152 kB / 0.7236 GB, free: 24.88 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.003685/1.306, allocations: 2.938 MB / 0.7265 GB, free: 21.95 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/1.306, allocations: 4 kB / 0.7265 GB, free: 21.95 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.006907/1.312, allocations: 1.91 MB / 0.7284 GB, free: 20.04 MB / 426.8 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.0008376/1.313, allocations: 311.8 kB / 0.7287 GB, free: 19.73 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01248/1.326, allocations: 7.913 MB / 0.7364 GB, free: 11.75 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/1.326, allocations: 0 / 0.7364 GB, free: 11.75 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.139/1.465, allocations: 3.743 MB / 0.74 GB, free: 112.7 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005646/1.47, allocations: 1.049 MB / 0.7411 GB, free: 112.6 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03029/1.501, allocations: 18.02 MB / 0.7587 GB, free: 106.9 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006796/1.508, allocations: 5.99 MB / 0.7645 GB, free: 106.4 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.005064/1.513, allocations: 1.941 MB / 0.7664 GB, free: 106.1 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/1.514, allocations: 434.5 kB / 0.7668 GB, free: 106.1 MB / 426.8 MB Notification: Performance of SimCode: time 1.623e-06/1.514, allocations: 0 / 0.7668 GB, free: 106.1 MB / 426.8 MB Notification: Performance of Templates: time 0.1054/1.619, allocations: 71.63 MB / 0.8368 GB, free: 53.55 MB / 426.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.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.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 8.44589227810502]