Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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: 120.4 kB / 17.79 MB, free: 5.285 MB / 14.72 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.002369/0.002369, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 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.531/1.531, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 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.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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 47.94 kB / 373.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1103, allocations: 53.34 MB / 426.8 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.2392/0.3495, allocations: 9.747 MB / 436.6 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007761/0.3573, allocations: 3.777 MB / 440.4 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002031/0.3593, allocations: 60.19 kB / 440.4 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002249/0.3616, allocations: 0.7021 MB / 441.1 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003626/0.3652, allocations: 0.9211 MB / 442.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.3668, allocations: 473 kB / 442.5 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004584/0.3714, allocations: 2.662 MB / 445.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002227/0.3736, allocations: 1.388 MB / 446.6 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00285/0.3765, allocations: 1.223 MB / 447.8 MB, free: 480 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003001/0.3795, allocations: 1.544 MB / 449.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006138/0.3801, allocations: 305.1 kB / 449.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.3816, allocations: 0.5814 MB / 450.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001484/0.3831, allocations: 1.033 MB / 451.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002656/0.3857, allocations: 1.491 MB / 452.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006909/0.3926, allocations: 4.326 MB / 457.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3926, allocations: 0 / 457.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3926, allocations: 0 / 457.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001381/0.3928, allocations: 1.531 kB / 457.1 MB, free: 11.97 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.007824/0.4006, allocations: 3.265 MB / 460.3 MB, free: 9.656 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4006, allocations: 9.156 kB / 460.3 MB, free: 9.656 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.402, allocations: 375.4 kB / 460.7 MB, free: 9.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/0.4052, allocations: 1.734 MB / 462.4 MB, free: 8.238 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.4053, allocations: 158.3 kB / 462.6 MB, free: 8.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003564/0.4057, allocations: 208.6 kB / 462.8 MB, free: 8.086 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005172/0.4109, allocations: 2.693 MB / 465.5 MB, free: 6.473 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.95e-05/0.4109, allocations: 11.08 kB / 465.5 MB, free: 6.465 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002185/0.4111, allocations: 85.17 kB / 465.6 MB, free: 6.398 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/0.4113, allocations: 93.28 kB / 465.7 MB, free: 6.387 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004467/0.4157, allocations: 2.272 MB / 467.9 MB, free: 5.234 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01509/0.4308, allocations: 8.171 MB / 476.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003218/0.434, allocations: 1.539 MB / 477.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002115/0.4361, allocations: 1.027 MB / 478.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002745/0.4364, allocations: 126 kB / 478.8 MB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.4365, allocations: 51.5 kB / 478.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.146e-06/0.4365, allocations: 0 / 478.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01537/0.4518, allocations: 6.473 MB / 485.3 MB, free: 5.461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.4519, allocations: 72.64 kB / 485.4 MB, free: 5.379 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003828/0.4557, allocations: 2.177 MB / 487.6 MB, free: 3.156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00019/0.4559, allocations: 45.7 kB / 487.6 MB, free: 3.105 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.457, allocations: 1.141 MB / 488.8 MB, free: 1.953 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005054/0.4575, allocations: 479.9 kB / 489.2 MB, free: 1.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005115/0.458, allocations: 247.5 kB / 489.5 MB, free: 1.234 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.4582, allocations: 357.9 kB / 489.8 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.4596, allocations: 0.7574 MB / 490.6 MB, free: 124 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.4612, allocations: 1.017 MB / 491.6 MB, free: 15.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003096/0.4643, allocations: 1.861 MB / 493.5 MB, free: 13.06 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.4643, allocations: 0 / 493.5 MB, free: 13.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005948/0.4703, allocations: 2.758 MB / 496.2 MB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.4703, allocations: 8.625 kB / 496.2 MB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.4703, allocations: 7.938 kB / 496.2 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002297/0.4726, allocations: 0.7814 MB / 497 MB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.4738, allocations: 268.6 kB / 497.3 MB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01421/0.488, allocations: 9.6 MB / 0.495 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.4897, allocations: 91.89 kB / 0.4951 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.4899, allocations: 51.98 kB / 0.4951 GB, free: 15.2 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.001527/0.4914, allocations: 0.7439 MB / 0.4959 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005018/0.4919, allocations: 222.6 kB / 0.4961 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005203/0.4971, allocations: 2.469 MB / 0.4985 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.031e-05/0.4971, allocations: 16 kB / 0.4985 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.4971, allocations: 8 kB / 0.4985 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/0.4971, allocations: 11.91 kB / 0.4985 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009825/0.507, allocations: 4.922 MB / 0.5033 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/0.507, allocations: 7.938 kB / 0.5033 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.5081, allocations: 219.8 kB / 0.5035 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002096/0.5102, allocations: 0.6562 MB / 0.5042 GB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.5104, allocations: 33.11 kB / 0.5042 GB, free: 5.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/0.5218, allocations: 8.724 MB / 0.5127 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5218, allocations: 4.031 kB / 0.5127 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007135/0.5289, allocations: 3.533 MB / 0.5162 GB, free: 9.047 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/0.53, allocations: 451.6 kB / 0.5166 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002727/0.5303, allocations: 28 kB / 0.5166 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.5314, allocations: 91.89 kB / 0.5167 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004208/0.5319, allocations: 102.8 kB / 0.5168 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/0.532, allocations: 39.98 kB / 0.5169 GB, free: 8.332 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003343/0.5353, allocations: 1.532 MB / 0.5184 GB, free: 6.777 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5353, allocations: 0 / 0.5184 GB, free: 6.777 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002469/0.5378, allocations: 0.5275 MB / 0.5189 GB, free: 6.25 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.001683/0.5395, allocations: 478.6 kB / 0.5193 GB, free: 5.922 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004777/0.5443, allocations: 2.295 MB / 0.5216 GB, free: 3.605 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.5443, allocations: 4.062 kB / 0.5216 GB, free: 3.602 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002878/0.5471, allocations: 1.542 MB / 0.5231 GB, free: 1.996 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00237/0.5495, allocations: 448 kB / 0.5235 GB, free: 1.562 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009404/0.5589, allocations: 5.208 MB / 0.5286 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002026/0.5609, allocations: 1.955 MB / 0.5305 GB, free: 10.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001177/0.5621, allocations: 391.8 kB / 0.5309 GB, free: 9.926 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004436/0.5626, allocations: 135.4 kB / 0.531 GB, free: 9.793 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5626, allocations: 0 / 0.531 GB, free: 9.793 MB / 446.1 MB Notification: Performance of Templates: time 0.06057/0.6231, allocations: 31.04 MB / 0.5613 GB, free: 10.97 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 6.909825447946787]