Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001793/0.001793, allocations: 122.5 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002073/0.002073, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 59.91 kB / 373.9 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1046, allocations: 53.32 MB / 427.2 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.2284/0.333, allocations: 9.763 MB / 437 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006359/0.3393, allocations: 3.771 MB / 440.7 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001663/0.341, allocations: 47.97 kB / 440.8 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002169/0.3432, allocations: 0.7065 MB / 441.5 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00301/0.3462, allocations: 0.9159 MB / 442.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.3476, allocations: 474 kB / 442.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00414/0.3517, allocations: 2.656 MB / 445.5 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00222/0.354, allocations: 1.393 MB / 446.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002369/0.3563, allocations: 1.208 MB / 448.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002518/0.3588, allocations: 1.541 MB / 449.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000684/0.3595, allocations: 308.6 kB / 450 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.3611, allocations: 0.5784 MB / 450.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001359/0.3625, allocations: 1.032 MB / 451.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002392/0.3648, allocations: 1.495 MB / 453.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006957/0.3718, allocations: 4.314 MB / 457.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.3718, allocations: 0 / 457.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.888e-06/0.3718, allocations: 7.922 kB / 457.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001477/0.372, allocations: 0 / 457.4 MB, free: 12.21 MB / 366.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.008596/0.3806, allocations: 3.258 MB / 460.6 MB, free: 9.902 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3806, allocations: 14.12 kB / 460.7 MB, free: 9.898 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.3819, allocations: 370.2 kB / 461 MB, free: 9.715 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003469/0.3854, allocations: 1.739 MB / 462.8 MB, free: 8.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.3855, allocations: 154.2 kB / 462.9 MB, free: 8.406 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004092/0.386, allocations: 205.4 kB / 463.1 MB, free: 8.336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005772/0.3917, allocations: 2.697 MB / 465.8 MB, free: 6.719 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.797e-05/0.3918, allocations: 12.31 kB / 465.8 MB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002306/0.392, allocations: 76.31 kB / 465.9 MB, free: 6.652 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001619/0.3922, allocations: 97.83 kB / 466 MB, free: 6.637 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005581/0.3978, allocations: 2.287 MB / 468.3 MB, free: 5.473 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01843/0.4162, allocations: 8.156 MB / 476.4 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003194/0.4194, allocations: 1.539 MB / 478 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002121/0.4215, allocations: 1.024 MB / 479 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002813/0.4218, allocations: 127.1 kB / 479.1 MB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.4218, allocations: 51.5 kB / 479.2 MB, free: 12.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.477e-06/0.4218, allocations: 0 / 479.2 MB, free: 12.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01483/0.4367, allocations: 6.485 MB / 485.6 MB, free: 5.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.4367, allocations: 68.72 kB / 485.7 MB, free: 5.652 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003349/0.4401, allocations: 2.181 MB / 487.9 MB, free: 3.426 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001489/0.4402, allocations: 45.7 kB / 487.9 MB, free: 3.375 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.4412, allocations: 1.133 MB / 489.1 MB, free: 2.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004731/0.4417, allocations: 475.9 kB / 489.5 MB, free: 1.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004682/0.4422, allocations: 251.5 kB / 489.8 MB, free: 1.512 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.4424, allocations: 357.9 kB / 490.1 MB, free: 1.156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.4438, allocations: 0.7574 MB / 490.9 MB, free: 408 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/0.4455, allocations: 1.013 MB / 491.9 MB, free: 15.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003256/0.4488, allocations: 1.862 MB / 493.8 MB, free: 13.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.4488, allocations: 8 kB / 493.8 MB, free: 13.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005747/0.4545, allocations: 2.75 MB / 496.5 MB, free: 10.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.4545, allocations: 8.25 kB / 496.5 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.4546, allocations: 12 kB / 496.5 MB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00222/0.4568, allocations: 0.7826 MB / 497.3 MB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.458, allocations: 275.5 kB / 497.6 MB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/0.4716, allocations: 9.593 MB / 0.4953 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.4732, allocations: 91.83 kB / 0.4954 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/0.4734, allocations: 52.06 kB / 0.4954 GB, free: 15.48 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.001653/0.475, allocations: 0.7401 MB / 0.4962 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006542/0.4757, allocations: 214.6 kB / 0.4964 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005316/0.481, allocations: 2.487 MB / 0.4988 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.088e-05/0.481, allocations: 16 kB / 0.4988 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.4811, allocations: 4 kB / 0.4988 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.4811, allocations: 3.984 kB / 0.4988 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.4915, allocations: 4.934 MB / 0.5036 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.4915, allocations: 0 / 0.5036 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.4926, allocations: 215.7 kB / 0.5038 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001973/0.4946, allocations: 0.655 MB / 0.5045 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/0.4947, allocations: 39.91 kB / 0.5045 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01095/0.5056, allocations: 8.72 MB / 0.513 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.5056, allocations: 3.984 kB / 0.513 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007351/0.513, allocations: 3.529 MB / 0.5165 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/0.5142, allocations: 464.1 kB / 0.5169 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003723/0.5146, allocations: 28 kB / 0.517 GB, free: 8.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.5156, allocations: 79.91 kB / 0.517 GB, free: 8.758 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003307/0.5159, allocations: 104.8 kB / 0.5171 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.516, allocations: 44.47 kB / 0.5172 GB, free: 8.613 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002473/0.5185, allocations: 1.536 MB / 0.5187 GB, free: 7.055 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5185, allocations: 0 / 0.5187 GB, free: 7.055 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002007/0.5205, allocations: 0.5196 MB / 0.5192 GB, free: 6.535 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.001708/0.5222, allocations: 471.5 kB / 0.5196 GB, free: 6.199 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004704/0.5269, allocations: 2.298 MB / 0.5219 GB, free: 3.875 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5269, allocations: 0 / 0.5219 GB, free: 3.875 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002787/0.5297, allocations: 1.539 MB / 0.5234 GB, free: 2.273 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/0.5321, allocations: 467.1 kB / 0.5238 GB, free: 1.824 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00915/0.5413, allocations: 5.203 MB / 0.5289 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001979/0.5433, allocations: 1.959 MB / 0.5308 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001381/0.5446, allocations: 399.7 kB / 0.5312 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004203/0.5451, allocations: 135.4 kB / 0.5313 GB, free: 10.05 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5451, allocations: 0 / 0.5313 GB, free: 10.05 MB / 446.1 MB Notification: Performance of Templates: time 0.05774/0.6028, allocations: 31.02 MB / 0.5616 GB, free: 11.21 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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 [Calling sys.exit(0), Time elapsed: 6.564921349287033]