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.001771/0.001771, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002154/0.002154, allocations: 208.7 kB / 23.73 MB, free: 4.387 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.536/1.536, allocations: 230.6 MB / 257.5 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.001603/0.001603, allocations: 43.92 kB / 378.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2699, allocations: 53.36 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01114/0.281, allocations: 7.944 MB / 439.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006531/0.2875, allocations: 2.777 MB / 442.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.2889, allocations: 55.69 kB / 442.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.2907, allocations: 0.5936 MB / 443 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002569/0.2933, allocations: 0.7808 MB / 443.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008359/0.2941, allocations: 339.4 kB / 444.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003008/0.2971, allocations: 2.385 MB / 446.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/0.2987, allocations: 0.9736 MB / 447.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001655/0.3003, allocations: 1.098 MB / 448.5 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.3023, allocations: 1.319 MB / 449.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004558/0.3027, allocations: 280 kB / 450.1 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007872/0.3035, allocations: 371.9 kB / 450.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009787/0.3045, allocations: 0.818 MB / 451.3 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.3057, allocations: 1.019 MB / 452.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004476/0.3102, allocations: 3.737 MB / 456.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3102, allocations: 0 / 456.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3102, allocations: 0 / 456.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.309e-05/0.3103, allocations: 0 / 456.1 MB, free: 14.12 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.005716/0.316, allocations: 2.582 MB / 458.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.316, allocations: 12.03 kB / 458.6 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.3171, allocations: 303.3 kB / 458.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002904/0.32, allocations: 1.345 MB / 460.3 MB, free: 9.805 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.3201, allocations: 139.9 kB / 460.4 MB, free: 9.668 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003148/0.3205, allocations: 187.9 kB / 460.6 MB, free: 9.484 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004374/0.3248, allocations: 2.51 MB / 463.1 MB, free: 6.914 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.816e-05/0.3249, allocations: 11.94 kB / 463.1 MB, free: 6.902 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001717/0.3251, allocations: 72 kB / 463.2 MB, free: 6.832 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/0.3252, allocations: 83.5 kB / 463.3 MB, free: 6.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003702/0.3289, allocations: 2.012 MB / 465.3 MB, free: 4.734 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01264/0.3415, allocations: 6.394 MB / 471.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/0.3433, allocations: 0.9806 MB / 472.7 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001925/0.3453, allocations: 0.862 MB / 473.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000204/0.3455, allocations: 40.97 kB / 473.6 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.3455, allocations: 47.5 kB / 473.6 MB, free: 12.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.795e-06/0.3455, allocations: 4 kB / 473.6 MB, free: 12.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.01045/0.356, allocations: 4.682 MB / 478.3 MB, free: 7.469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.356, allocations: 64.41 kB / 478.4 MB, free: 7.395 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/0.3582, allocations: 1.257 MB / 479.6 MB, free: 6.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000139/0.3583, allocations: 41.7 kB / 479.7 MB, free: 6.078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007862/0.3591, allocations: 0.9337 MB / 480.6 MB, free: 5.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003589/0.3595, allocations: 368.9 kB / 481 MB, free: 4.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003617/0.3598, allocations: 214.9 kB / 481.2 MB, free: 4.555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.36, allocations: 353.9 kB / 481.5 MB, free: 4.203 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.3611, allocations: 0.635 MB / 482.1 MB, free: 3.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.3624, allocations: 0.9181 MB / 483.1 MB, free: 2.527 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002535/0.365, allocations: 1.645 MB / 484.7 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.365, allocations: 4 kB / 484.7 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004655/0.3696, allocations: 2.375 MB / 487.1 MB, free: 14.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.3696, allocations: 8 kB / 487.1 MB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.3697, allocations: 8 kB / 487.1 MB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001934/0.3716, allocations: 0.7168 MB / 487.8 MB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009011/0.3725, allocations: 231.6 kB / 488 MB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/0.3845, allocations: 8.395 MB / 496.4 MB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.3857, allocations: 75.88 kB / 496.5 MB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.3858, allocations: 55.98 kB / 496.6 MB, free: 4.676 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.001141/0.3869, allocations: 0.6377 MB / 497.2 MB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/0.3872, allocations: 147.2 kB / 497.4 MB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003507/0.3907, allocations: 1.877 MB / 499.2 MB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.3907, allocations: 12 kB / 499.2 MB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.3907, allocations: 4 kB / 499.2 MB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.3907, allocations: 3.984 kB / 499.2 MB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006941/0.3977, allocations: 3.526 MB / 0.491 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.3977, allocations: 4 kB / 0.491 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008108/0.3985, allocations: 179.7 kB / 0.4912 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001244/0.3997, allocations: 466.8 kB / 0.4916 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-05/0.3998, allocations: 23.98 kB / 0.4916 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007023/0.4068, allocations: 6.279 MB / 0.4978 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.4068, allocations: 3.984 kB / 0.4978 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004709/0.4116, allocations: 2.76 MB / 0.5005 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/0.4126, allocations: 271 kB / 0.5007 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/0.4128, allocations: 28 kB / 0.5007 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007312/0.4135, allocations: 63.92 kB / 0.5008 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002278/0.4137, allocations: 88.77 kB / 0.5009 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.085e-05/0.4138, allocations: 27.98 kB / 0.5009 GB, free: 3.828 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001332/0.4151, allocations: 0.8575 MB / 0.5018 GB, free: 2.965 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4151, allocations: 0 / 0.5018 GB, free: 2.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001395/0.4165, allocations: 435.9 kB / 0.5022 GB, free: 2.539 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.000348/0.4169, allocations: 178.9 kB / 0.5023 GB, free: 2.355 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003596/0.4205, allocations: 1.94 MB / 0.5042 GB, free: 396 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.4205, allocations: 1.875 kB / 0.5042 GB, free: 396 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00218/0.4227, allocations: 1.221 MB / 0.5054 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/0.4243, allocations: 329.2 kB / 0.5057 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007452/0.4318, allocations: 4.087 MB / 0.5097 GB, free: 10.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/0.4332, allocations: 1.114 MB / 0.5108 GB, free: 9.512 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009645/0.4341, allocations: 303 kB / 0.5111 GB, free: 9.211 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/0.4344, allocations: 91.42 kB / 0.5112 GB, free: 9.121 MB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4344, allocations: 0 / 0.5112 GB, free: 9.121 MB / 430.1 MB Notification: Performance of Templates: time 0.04502/0.4794, allocations: 25.46 MB / 0.5361 GB, free: 0 / 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/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: 5.725790465250611]