Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.00164/0.00164, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002092/0.002092, allocations: 206.6 kB / 24.47 MB, free: 3.977 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 2.199/2.199, allocations: 230.6 MB / 258.2 MB, free: 7.793 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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 55.86 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4223, allocations: 53.36 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01517/0.4375, allocations: 7.95 MB / 440.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008485/0.446, allocations: 2.777 MB / 443.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001927/0.4479, allocations: 55.62 kB / 443.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002672/0.4506, allocations: 0.5936 MB / 443.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003637/0.4542, allocations: 0.7807 MB / 444.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.4556, allocations: 335.5 kB / 444.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004432/0.46, allocations: 2.385 MB / 447.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002188/0.4622, allocations: 1.017 MB / 448.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00224/0.4645, allocations: 1.098 MB / 449.3 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003149/0.4676, allocations: 1.393 MB / 450.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007798/0.4684, allocations: 276 kB / 451 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.4697, allocations: 379.8 kB / 451.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001265/0.471, allocations: 0.8141 MB / 452.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00182/0.4728, allocations: 1.023 MB / 453.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006027/0.4788, allocations: 3.725 MB / 456.9 MB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.4788, allocations: 3.938 kB / 456.9 MB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4788, allocations: 0 / 456.9 MB, free: 14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.615e-05/0.4789, allocations: 0 / 456.9 MB, free: 14 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.008172/0.4871, allocations: 2.583 MB / 459.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.4872, allocations: 11.97 kB / 459.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.4886, allocations: 299.3 kB / 459.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004278/0.4929, allocations: 1.349 MB / 461.2 MB, free: 9.676 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.4931, allocations: 132 kB / 461.3 MB, free: 9.547 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005641/0.4937, allocations: 191.9 kB / 461.5 MB, free: 9.359 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006692/0.5004, allocations: 2.506 MB / 464 MB, free: 6.793 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-05/0.5004, allocations: 4 kB / 464 MB, free: 6.789 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002841/0.5007, allocations: 76 kB / 464.1 MB, free: 6.715 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001495/0.5009, allocations: 87.48 kB / 464.1 MB, free: 6.629 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005691/0.5066, allocations: 2.008 MB / 466.2 MB, free: 4.617 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01798/0.5245, allocations: 6.398 MB / 472.6 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002725/0.5273, allocations: 0.985 MB / 473.5 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002667/0.5299, allocations: 0.8612 MB / 474.4 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002734/0.5302, allocations: 44.97 kB / 474.4 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.991e-05/0.5303, allocations: 39.56 kB / 474.5 MB, free: 12.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 4.709e-06/0.5303, allocations: 0 / 474.5 MB, free: 12.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.01497/0.5452, allocations: 4.684 MB / 479.2 MB, free: 7.348 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/0.5453, allocations: 68.34 kB / 479.2 MB, free: 7.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01931/0.5646, allocations: 1.253 MB / 480.5 MB, free: 6.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002942/0.5649, allocations: 45.7 kB / 480.5 MB, free: 5.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.566, allocations: 0.9297 MB / 481.5 MB, free: 5.012 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006103/0.5666, allocations: 368.9 kB / 481.8 MB, free: 4.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005986/0.5672, allocations: 218.9 kB / 482 MB, free: 4.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002221/0.5674, allocations: 353.9 kB / 482.4 MB, free: 4.078 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/0.569, allocations: 0.6272 MB / 483 MB, free: 3.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.5709, allocations: 0.9298 MB / 483.9 MB, free: 2.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00357/0.5744, allocations: 1.649 MB / 485.6 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.5744, allocations: 4 kB / 485.6 MB, free: 0.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.02312/0.5976, allocations: 2.368 MB / 488 MB, free: 14.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/0.5976, allocations: 8 kB / 488 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-05/0.5976, allocations: 8 kB / 488 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002858/0.6005, allocations: 0.7204 MB / 488.7 MB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.602, allocations: 231.7 kB / 488.9 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01849/0.6205, allocations: 8.386 MB / 497.3 MB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/0.6225, allocations: 88.02 kB / 497.4 MB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/0.6227, allocations: 48 kB / 497.4 MB, free: 4.555 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * 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,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001869/0.6245, allocations: 0.6377 MB / 498.1 MB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005916/0.6251, allocations: 139.1 kB / 498.2 MB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005456/0.6306, allocations: 1.881 MB / 0.4884 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.6306, allocations: 8 kB / 0.4884 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.6306, allocations: 4 kB / 0.4884 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.321e-05/0.6306, allocations: 7.969 kB / 0.4884 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/0.6421, allocations: 3.526 MB / 0.4918 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/0.6421, allocations: 8.031 kB / 0.4918 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/0.6436, allocations: 183.7 kB / 0.492 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002377/0.646, allocations: 458.9 kB / 0.4925 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001697/0.6462, allocations: 27.98 kB / 0.4925 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01143/0.6576, allocations: 6.278 MB / 0.4986 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.6576, allocations: 0 / 0.4986 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007271/0.6649, allocations: 2.756 MB / 0.5013 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/0.6663, allocations: 278.9 kB / 0.5016 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003711/0.6666, allocations: 27.98 kB / 0.5016 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/0.6679, allocations: 71.92 kB / 0.5017 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003297/0.6683, allocations: 80.78 kB / 0.5017 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.6684, allocations: 35.92 kB / 0.5018 GB, free: 3.695 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002034/0.6704, allocations: 0.8575 MB / 0.5026 GB, free: 2.832 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6704, allocations: 0 / 0.5026 GB, free: 2.832 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002437/0.6729, allocations: 431.9 kB / 0.503 GB, free: 2.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (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) * 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 (84): * Single equations (assignments): 80 * Array equations: 0 * 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,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005339/0.6734, allocations: 187 kB / 0.5032 GB, free: 2.219 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006115/0.6795, allocations: 1.931 MB / 0.5051 GB, free: 272 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.6795, allocations: 4.062 kB / 0.5051 GB, free: 268 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003882/0.6834, allocations: 1.229 MB / 0.5063 GB, free: 14.99 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003557/0.687, allocations: 326.9 kB / 0.5066 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.6989, allocations: 4.088 MB / 0.5106 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002227/0.7011, allocations: 1.122 MB / 0.5117 GB, free: 9.375 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001424/0.7025, allocations: 295 kB / 0.512 GB, free: 9.082 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004121/0.7029, allocations: 95.41 kB / 0.5121 GB, free: 8.988 MB / 430.1 MB Notification: Performance of SimCode: time 1.162e-06/0.7029, allocations: 0 / 0.5121 GB, free: 8.988 MB / 430.1 MB Notification: Performance of Templates: time 0.3251/1.028, allocations: 25.87 MB / 0.5373 GB, free: 103.9 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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: 8.786115274997428]