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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 106.5 kB / 20.32 MB, free: 1.75 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 187.1 kB / 23.47 MB, free: 5.469 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 207.6 MB / 234.1 MB, free: 11.04 MB / 190.1 MB [Timeout remaining time 88] 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.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.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 55.91 kB / 345.8 MB, free: 10.67 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2699, allocations: 49.11 MB / 395 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02616/0.2961, allocations: 25 MB / 420 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01673/0.3128, allocations: 7.376 MB / 427.3 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005358/0.3182, allocations: 157.6 kB / 427.5 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02094/0.3391, allocations: 8.892 MB / 436.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0114/0.3505, allocations: 3.031 MB / 439.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005637/0.3562, allocations: 1.751 MB / 441.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0155/0.3717, allocations: 10.89 MB / 452 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02645/0.3981, allocations: 16.61 MB / 468.7 MB, free: 9.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009199/0.4073, allocations: 5.829 MB / 474.5 MB, free: 4.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01105/0.4184, allocations: 6.421 MB / 480.9 MB, free: 13.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004606/0.423, allocations: 1.68 MB / 482.6 MB, free: 11.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006349/0.4293, allocations: 2.05 MB / 484.6 MB, free: 9.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004645/0.434, allocations: 3.227 MB / 487.9 MB, free: 6.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01093/0.4449, allocations: 6.18 MB / 494 MB, free: 492 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02927/0.4742, allocations: 22.42 MB / 0.5044 GB, free: 10 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4742, allocations: 0 / 0.5044 GB, free: 10 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4742, allocations: 0 / 0.5044 GB, free: 10 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005623/0.4747, allocations: 0 / 0.5044 GB, free: 10 MB / 430.1 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.03828/0.513, allocations: 13.13 MB / 0.5172 GB, free: 12.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.5131, allocations: 16.02 kB / 0.5172 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04107/0.5541, allocations: 7.231 MB / 0.5243 GB, free: 5.484 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01444/0.5686, allocations: 6.174 MB / 0.5303 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007496/0.5693, allocations: 0.7144 MB / 0.531 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003996/0.5733, allocations: 0.9296 MB / 0.5319 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04016/0.6135, allocations: 16.21 MB / 0.5477 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003246/0.6138, allocations: 15.94 kB / 0.5477 GB, free: 13.32 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003239/0.617, allocations: 396 kB / 0.5481 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006701/0.6177, allocations: 0.5786 MB / 0.5487 GB, free: 12.36 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4011/1.019, allocations: 15.46 MB / 0.5638 GB, free: 129.6 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07911/1.098, allocations: 52.37 MB / 0.6149 GB, free: 94.93 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02134/1.119, allocations: 35.09 MB / 0.6492 GB, free: 58.87 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004528/1.124, allocations: 3.093 MB / 0.6522 GB, free: 55.77 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01435/1.138, allocations: 10.05 MB / 0.662 GB, free: 45.84 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/1.138, allocations: 68.83 kB / 0.6621 GB, free: 45.76 MB / 478.1 MB Notification: Performance of pre-optimization done (n=297): time 5.71e-06/1.138, allocations: 0 / 0.6621 GB, free: 45.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=303): time 0.031/1.169, allocations: 15.44 MB / 0.6772 GB, free: 30.58 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/1.169, allocations: 81.78 kB / 0.6772 GB, free: 30.49 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004952/1.174, allocations: 3.858 MB / 0.681 GB, free: 26.69 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005648/1.175, allocations: 81.7 kB / 0.6811 GB, free: 26.61 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001847/1.177, allocations: 4.409 MB / 0.6854 GB, free: 22.22 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009973/1.178, allocations: 1.106 MB / 0.6865 GB, free: 21.12 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001381/1.179, allocations: 1.1 MB / 0.6875 GB, free: 20.02 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.521e-05/1.179, allocations: 301.1 kB / 0.6878 GB, free: 19.72 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003133/1.182, allocations: 2.552 MB / 0.6903 GB, free: 17.16 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003898/1.186, allocations: 4.911 MB / 0.6951 GB, free: 11.12 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007832/1.194, allocations: 7.945 MB / 0.7029 GB, free: 2.039 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.084e-05/1.194, allocations: 24 kB / 0.7029 GB, free: 2.016 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01971/1.214, allocations: 8.636 MB / 0.7113 GB, free: 9.348 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.628e-05/1.214, allocations: 44.06 kB / 0.7114 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001588/1.214, allocations: 76 kB / 0.7114 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00373/1.218, allocations: 1.25 MB / 0.7127 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004815/1.222, allocations: 1.221 MB / 0.7139 GB, free: 6.754 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0167/1.239, allocations: 9.964 MB / 0.7236 GB, free: 12.64 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004563/1.244, allocations: 331.6 kB / 0.7239 GB, free: 12.32 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/1.245, allocations: 284 kB / 0.7242 GB, free: 12.04 MB / 0.4982 GB 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.007443/1.252, allocations: 3.736 MB / 0.7278 GB, free: 8.293 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001186/1.253, allocations: 401.4 kB / 0.7282 GB, free: 7.898 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01427/1.268, allocations: 5.783 MB / 0.7339 GB, free: 2.066 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01127/1.279, allocations: 4.727 MB / 0.7385 GB, free: 13.29 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.904e-05/1.279, allocations: 12 kB / 0.7385 GB, free: 13.28 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.54e-05/1.279, allocations: 15.94 kB / 0.7385 GB, free: 13.27 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02835/1.307, allocations: 13.65 MB / 0.7518 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/1.307, allocations: 4 kB / 0.7518 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00259/1.31, allocations: 0.5617 MB / 0.7524 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003416/1.313, allocations: 1.118 MB / 0.7535 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003128/1.314, allocations: 71.98 kB / 0.7535 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0144/1.328, allocations: 8.849 MB / 0.7622 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/1.328, allocations: 7.938 kB / 0.7622 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2368/1.565, allocations: 8.484 MB / 0.7705 GB, free: 181 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002186/1.567, allocations: 0.8851 MB / 0.7713 GB, free: 181 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004478/1.568, allocations: 58.88 kB / 0.7714 GB, free: 181 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001772/1.569, allocations: 187.6 kB / 0.7716 GB, free: 181 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005734/1.57, allocations: 223.6 kB / 0.7718 GB, free: 180.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002043/1.57, allocations: 97.12 kB / 0.7719 GB, free: 180.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003823/1.574, allocations: 2.586 MB / 0.7744 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/1.574, allocations: 0 / 0.7744 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0058/1.58, allocations: 1.551 MB / 0.7759 GB, free: 180 MB / 0.5294 GB 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.0005555/1.58, allocations: 243.1 kB / 0.7762 GB, free: 179.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0106/1.591, allocations: 6.268 MB / 0.7823 GB, free: 177.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.591, allocations: 0 / 0.7823 GB, free: 177.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004652/1.596, allocations: 2.769 MB / 0.785 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004786/1.6, allocations: 0.9461 MB / 0.7859 GB, free: 175.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02268/1.623, allocations: 16.19 MB / 0.8017 GB, free: 168.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004645/1.628, allocations: 6.04 MB / 0.8076 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001378/1.629, allocations: 354.1 kB / 0.8079 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.012e-06/1.629, allocations: 0 / 0.8079 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.15/1.779, allocations: 158.1 MB / 0.9623 GB, free: 10.52 MB / 0.5294 GB [Timeout remaining time 658] 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/jenkins1/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/jenkins1/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