Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.001313/0.001313, allocations: 101.2 kB / 19.61 MB, free: 2.602 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.001399/0.001399, allocations: 191.3 kB / 22.75 MB, free: 5.582 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 225.6 MB / 251.4 MB, free: 13.55 MB / 206.1 MB [Timeout remaining time 88] 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.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 47.92 kB / 369.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2824, allocations: 52.15 MB / 421.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01243/0.2949, allocations: 9.7 MB / 431 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007516/0.3024, allocations: 3.568 MB / 434.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.3041, allocations: 47.81 kB / 434.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00214/0.3062, allocations: 0.7063 MB / 435.4 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002845/0.3091, allocations: 0.8662 MB / 436.2 MB, free: 192 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.3104, allocations: 471.1 kB / 436.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00367/0.3141, allocations: 2.631 MB / 439.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002009/0.3161, allocations: 1.389 MB / 440.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.318, allocations: 1.187 MB / 441.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002678/0.3207, allocations: 1.533 MB / 443.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006648/0.3213, allocations: 308 kB / 443.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.3229, allocations: 0.5971 MB / 444.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001318/0.3242, allocations: 1.044 MB / 445.4 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002163/0.3263, allocations: 1.477 MB / 446.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006023/0.3324, allocations: 4.316 MB / 451.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3324, allocations: 4 kB / 451.2 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.3324, allocations: 0 / 451.2 MB, free: 1.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001337/0.3325, allocations: 0 / 451.2 MB, free: 1.137 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.007726/0.3402, allocations: 3.232 MB / 454.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.3403, allocations: 8.031 kB / 454.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.3413, allocations: 342.9 kB / 454.7 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003385/0.3447, allocations: 1.712 MB / 456.4 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/0.3448, allocations: 156 kB / 456.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003993/0.3452, allocations: 203.9 kB / 456.8 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00536/0.3506, allocations: 2.69 MB / 459.5 MB, free: 8.602 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-05/0.3506, allocations: 19.8 kB / 459.5 MB, free: 8.582 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002074/0.3508, allocations: 80 kB / 459.6 MB, free: 8.504 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001245/0.351, allocations: 95.94 kB / 459.7 MB, free: 8.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004531/0.3555, allocations: 2.276 MB / 462 MB, free: 6.133 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01533/0.3708, allocations: 8.176 MB / 470.1 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003116/0.374, allocations: 1.538 MB / 471.7 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002057/0.376, allocations: 1.022 MB / 472.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002605/0.3763, allocations: 118.1 kB / 472.8 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.3763, allocations: 47.56 kB / 472.9 MB, free: 10.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.376e-06/0.3763, allocations: 4 kB / 472.9 MB, free: 10.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01444/0.3908, allocations: 6.488 MB / 479.3 MB, free: 4.312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.3908, allocations: 64.72 kB / 479.4 MB, free: 4.238 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00332/0.3941, allocations: 2.164 MB / 481.6 MB, free: 2.027 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002504/0.3944, allocations: 49.7 kB / 481.6 MB, free: 1.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001014/0.3954, allocations: 1.118 MB / 482.7 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000536/0.3959, allocations: 483.8 kB / 483.2 MB, free: 376 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00044/0.3964, allocations: 243.5 kB / 483.4 MB, free: 128 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.3966, allocations: 365.9 kB / 483.8 MB, free: 15.76 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.398, allocations: 0.7574 MB / 484.6 MB, free: 15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/0.3996, allocations: 1.017 MB / 485.6 MB, free: 13.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003073/0.4027, allocations: 1.858 MB / 487.4 MB, free: 11.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.4027, allocations: 0 / 487.4 MB, free: 11.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005551/0.4082, allocations: 2.754 MB / 490.2 MB, free: 9.176 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.4082, allocations: 11.98 kB / 490.2 MB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.4083, allocations: 12 kB / 490.2 MB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002143/0.4104, allocations: 0.7814 MB / 491 MB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/0.4117, allocations: 275.5 kB / 491.3 MB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/0.4248, allocations: 9.587 MB / 0.4891 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.4263, allocations: 91.95 kB / 0.4892 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/0.4265, allocations: 55.98 kB / 0.4893 GB, free: 14.08 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001516/0.428, allocations: 0.7394 MB / 0.49 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005413/0.4285, allocations: 210.6 kB / 0.4902 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004929/0.4335, allocations: 2.481 MB / 0.4926 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-05/0.4335, allocations: 19.94 kB / 0.4926 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.605e-05/0.4335, allocations: 8 kB / 0.4926 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.4335, allocations: 7.969 kB / 0.4926 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009699/0.4432, allocations: 4.918 MB / 0.4974 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.4433, allocations: 4 kB / 0.4974 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.4443, allocations: 219.6 kB / 0.4977 GB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001889/0.4462, allocations: 0.6531 MB / 0.4983 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001481/0.4463, allocations: 31.97 kB / 0.4983 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01026/0.4566, allocations: 8.73 MB / 0.5068 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4566, allocations: 3.938 kB / 0.5069 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006686/0.4633, allocations: 3.525 MB / 0.5103 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/0.4645, allocations: 451.6 kB / 0.5107 GB, free: 7.477 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003324/0.4648, allocations: 31.92 kB / 0.5108 GB, free: 7.445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.4658, allocations: 83.91 kB / 0.5108 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000311/0.4662, allocations: 108.8 kB / 0.5109 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.4663, allocations: 43.91 kB / 0.511 GB, free: 7.215 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002389/0.4687, allocations: 1.515 MB / 0.5125 GB, free: 5.676 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4687, allocations: 0 / 0.5125 GB, free: 5.676 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002311/0.471, allocations: 0.5273 MB / 0.513 GB, free: 5.148 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * 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 (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001706/0.4727, allocations: 464.5 kB / 0.5134 GB, free: 4.824 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004717/0.4774, allocations: 2.299 MB / 0.5157 GB, free: 2.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.4774, allocations: 4 kB / 0.5157 GB, free: 2.496 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002752/0.4801, allocations: 1.535 MB / 0.5172 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/0.4825, allocations: 450.3 kB / 0.5176 GB, free: 476 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009764/0.4922, allocations: 5.281 MB / 0.5228 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001856/0.4941, allocations: 1.932 MB / 0.5246 GB, free: 9.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006597/0.4947, allocations: 143.4 kB / 0.5248 GB, free: 9.02 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4947, allocations: 0 / 0.5248 GB, free: 9.02 MB / 446.1 MB Notification: Performance of Templates: time 0.2853/0.78, allocations: 64.14 MB / 0.5874 GB, free: 60.45 MB / 446.1 MB [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches