Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.0008955/0.0008955, allocations: 91.61 kB / 22.18 MB, free: 2.383 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.001153/0.001153, allocations: 156.9 kB / 25.45 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9578/0.9578, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 299.7 MB, free: 6.883 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/2.992e-05, allocations: 5.938 kB / 299.7 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.0167/0.01673, allocations: 21.44 MB / 321.2 MB, free: 1.336 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01596/0.03269, allocations: 7.096 MB / 328.3 MB, free: 10.22 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005964/0.03865, allocations: 187.1 kB / 328.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01187/0.05052, allocations: 8.675 MB / 337.1 MB, free: 1.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009987/0.06051, allocations: 3.069 MB / 340.2 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005228/0.06573, allocations: 1.748 MB / 341.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01385/0.07958, allocations: 11.33 MB / 353.3 MB, free: 1.105 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1958/0.2753, allocations: 14.24 MB / 367.5 MB, free: 15.94 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01971/0.295, allocations: 8.722 MB / 376.2 MB, free: 12.96 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01063/0.3057, allocations: 5.552 MB / 381.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005852/0.3115, allocations: 1.678 MB / 383.5 MB, free: 11.35 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008107/0.3196, allocations: 2.056 MB / 385.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006113/0.3257, allocations: 3.287 MB / 388.8 MB, free: 9.523 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009529/0.3353, allocations: 4.13 MB / 392.9 MB, free: 7.754 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02494/0.3602, allocations: 22.74 MB / 415.7 MB, free: 3.746 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.3602, allocations: 1.906 kB / 415.7 MB, free: 3.746 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.3602, allocations: 0 / 415.7 MB, free: 3.746 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0007469/0.361, allocations: 0 / 415.7 MB, free: 3.746 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: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.03429/0.3953, allocations: 12.94 MB / 428.6 MB, free: 6.836 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.3953, allocations: 11.98 kB / 428.6 MB, free: 6.824 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02187/0.4172, allocations: 7.241 MB / 435.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01204/0.4292, allocations: 6.255 MB / 442.1 MB, free: 9.641 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006465/0.4299, allocations: 0.7163 MB / 442.9 MB, free: 8.938 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004448/0.4343, allocations: 0.9275 MB / 443.8 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03576/0.4701, allocations: 16.35 MB / 460.1 MB, free: 7.609 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003274/0.4704, allocations: 11.95 kB / 460.1 MB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003296/0.4737, allocations: 397.8 kB / 460.5 MB, free: 7.219 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004936/0.4742, allocations: 0.5825 MB / 461.1 MB, free: 6.633 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03205/0.5062, allocations: 15.38 MB / 476.5 MB, free: 7.234 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0746/0.5808, allocations: 44.96 MB / 0.5092 GB, free: 10.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0136/0.5944, allocations: 10.93 MB / 0.5199 GB, free: 0.9141 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3534/0.9478, allocations: 3.077 MB / 0.5229 GB, free: 151.9 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01489/0.9627, allocations: 9.002 MB / 0.5317 GB, free: 148.7 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.041e-05/0.9628, allocations: 64.41 kB / 0.5318 GB, free: 148.7 MB / 458.8 MB Notification: Performance of pre-optimization done (n=297): time 6.001e-06/0.9628, allocations: 1.375 kB / 0.5318 GB, free: 148.7 MB / 458.8 MB Notification: Performance of matching and sorting (n=303): time 0.0244/0.9872, allocations: 15.09 MB / 0.5465 GB, free: 143.2 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.783e-05/0.9873, allocations: 82.69 kB / 0.5466 GB, free: 143.1 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004062/0.9913, allocations: 3.77 MB / 0.5503 GB, free: 141.7 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005142/0.9918, allocations: 73.8 kB / 0.5503 GB, free: 141.7 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001537/0.9934, allocations: 4.417 MB / 0.5546 GB, free: 138.7 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009979/0.9944, allocations: 1.091 MB / 0.5557 GB, free: 137.9 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/0.9954, allocations: 1.088 MB / 0.5568 GB, free: 137.3 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 3.542e-05/0.9954, allocations: 301.1 kB / 0.5571 GB, free: 137 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002339/0.9978, allocations: 2.546 MB / 0.5595 GB, free: 136 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002953/1.001, allocations: 4.933 MB / 0.5644 GB, free: 130.9 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006344/1.007, allocations: 7.93 MB / 0.5721 GB, free: 122.5 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.411e-05/1.007, allocations: 30.19 kB / 0.5721 GB, free: 122.5 MB / 458.8 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01046/1.018, allocations: 8.58 MB / 0.5805 GB, free: 114.7 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.57e-05/1.018, allocations: 39.94 kB / 0.5805 GB, free: 114.7 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001104/1.018, allocations: 80 kB / 0.5806 GB, free: 114.6 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001915/1.02, allocations: 1.212 MB / 0.5818 GB, free: 113.4 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002627/1.022, allocations: 1.224 MB / 0.583 GB, free: 112.2 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008638/1.031, allocations: 9.493 MB / 0.5923 GB, free: 102.6 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004516/1.035, allocations: 331.6 kB / 0.5926 GB, free: 102.3 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001209/1.037, allocations: 284 kB / 0.5929 GB, free: 102 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (638): * Single equations (assignments): 636 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007328/1.044, allocations: 3.736 MB / 0.5965 GB, free: 98.25 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009983/1.045, allocations: 381.5 kB / 0.5969 GB, free: 97.87 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006062/1.051, allocations: 5.719 MB / 0.6025 GB, free: 92.12 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004289/1.055, allocations: 4.7 MB / 0.607 GB, free: 87.38 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/1.055, allocations: 8.688 kB / 0.6071 GB, free: 87.37 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-05/1.055, allocations: 15.94 kB / 0.6071 GB, free: 87.35 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/1.07, allocations: 11.45 MB / 0.6183 GB, free: 75.85 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/1.07, allocations: 4 kB / 0.6183 GB, free: 75.85 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/1.071, allocations: 0.5585 MB / 0.6188 GB, free: 75.29 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00165/1.073, allocations: 1.077 MB / 0.6199 GB, free: 74.21 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001987/1.073, allocations: 67.92 kB / 0.6199 GB, free: 74.14 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007552/1.08, allocations: 8.412 MB / 0.6281 GB, free: 65.66 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.081, allocations: 7.938 kB / 0.6281 GB, free: 65.65 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/1.091, allocations: 8.431 MB / 0.6364 GB, free: 57.09 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002349/1.093, allocations: 0.798 MB / 0.6372 GB, free: 56.29 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003478/1.093, allocations: 56 kB / 0.6372 GB, free: 56.24 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000986/1.094, allocations: 191.8 kB / 0.6374 GB, free: 56.05 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004061/1.095, allocations: 234.5 kB / 0.6376 GB, free: 55.82 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/1.095, allocations: 95.98 kB / 0.6377 GB, free: 55.72 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002808/1.098, allocations: 2.42 MB / 0.6401 GB, free: 53.31 MB / 458.8 MB Notification: Performance of sort global known variables: time 7e-08/1.098, allocations: 0 / 0.6401 GB, free: 53.31 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.005257/1.103, allocations: 1.539 MB / 0.6416 GB, free: 51.77 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (282): * Single equations (assignments): 280 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007643/1.104, allocations: 245 kB / 0.6418 GB, free: 51.54 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.007443/1.111, allocations: 6.231 MB / 0.6479 GB, free: 45.28 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/1.111, allocations: 4 kB / 0.6479 GB, free: 45.27 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003423/1.114, allocations: 2.747 MB / 0.6506 GB, free: 42.51 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/1.117, allocations: 0.8395 MB / 0.6514 GB, free: 41.69 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0205/1.138, allocations: 16.07 MB / 0.6671 GB, free: 25.52 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004126/1.142, allocations: 5.587 MB / 0.6726 GB, free: 19.89 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001446/1.143, allocations: 348.4 kB / 0.6729 GB, free: 19.55 MB / 458.8 MB Notification: Performance of SimCode: time 2.806e-06/1.143, allocations: 4 kB / 0.6729 GB, free: 19.55 MB / 458.8 MB Notification: Performance of Templates: time 0.3098/1.453, allocations: 159.2 MB / 0.8283 GB, free: 22.19 MB / 458.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 10.866587934084237]