Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.001362/0.001362, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001538/0.001538, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.82 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_DOL,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,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_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 43.94 kB / 378.2 MB, free: 2.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2875, allocations: 53.37 MB / 431.6 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01579/0.3033, allocations: 8.365 MB / 440 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007987/0.3113, allocations: 2.88 MB / 442.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001738/0.313, allocations: 59.62 kB / 442.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002591/0.3156, allocations: 0.6168 MB / 443.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003709/0.3193, allocations: 0.8273 MB / 444.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.3207, allocations: 363.4 kB / 444.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005071/0.3258, allocations: 2.673 MB / 447.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002675/0.3285, allocations: 1.121 MB / 448.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002402/0.3309, allocations: 1.238 MB / 449.7 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003474/0.3344, allocations: 1.467 MB / 451.2 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007459/0.3351, allocations: 312 kB / 451.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.3363, allocations: 403.8 kB / 451.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001328/0.3377, allocations: 0.9036 MB / 452.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001921/0.3396, allocations: 1.136 MB / 453.9 MB, free: 296 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004853/0.3444, allocations: 4.138 MB / 458.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3445, allocations: 4 kB / 458.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3445, allocations: 4 kB / 458.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.781e-05/0.3445, allocations: 0 / 458.1 MB, free: 12.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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005426/0.3499, allocations: 2.865 MB / 460.9 MB, free: 9.211 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.35, allocations: 8.031 kB / 460.9 MB, free: 9.203 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009626/0.3509, allocations: 335.1 kB / 461.3 MB, free: 8.875 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00292/0.3539, allocations: 1.488 MB / 462.8 MB, free: 7.344 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.354, allocations: 152.4 kB / 462.9 MB, free: 7.191 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003245/0.3543, allocations: 207.9 kB / 463.1 MB, free: 6.988 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00458/0.3589, allocations: 2.836 MB / 466 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.928e-05/0.359, allocations: 15.89 kB / 466 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001966/0.3592, allocations: 83.98 kB / 466 MB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/0.3593, allocations: 91.94 kB / 466.1 MB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00401/0.3633, allocations: 2.319 MB / 468.5 MB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01251/0.3758, allocations: 7.258 MB / 475.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.3778, allocations: 1.23 MB / 476.9 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001981/0.3798, allocations: 1.012 MB / 478 MB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002035/0.38, allocations: 44.97 kB / 478 MB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.38, allocations: 51.5 kB / 478.1 MB, free: 7.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.286e-06/0.38, allocations: 0 / 478.1 MB, free: 7.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01373/0.3938, allocations: 5.926 MB / 484 MB, free: 1.734 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.3938, allocations: 64.41 kB / 484 MB, free: 1.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002659/0.3965, allocations: 1.393 MB / 485.4 MB, free: 256 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.3966, allocations: 45.7 kB / 485.5 MB, free: 204 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008927/0.3975, allocations: 1.032 MB / 486.5 MB, free: 15.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004222/0.3979, allocations: 440.3 kB / 486.9 MB, free: 14.72 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000434/0.3983, allocations: 251.5 kB / 487.2 MB, free: 14.47 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.3985, allocations: 357.9 kB / 487.5 MB, free: 14.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.3998, allocations: 0.73 MB / 488.3 MB, free: 13.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/0.4013, allocations: 1.055 MB / 489.3 MB, free: 12.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002835/0.4041, allocations: 1.875 MB / 491.2 MB, free: 10.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/0.4041, allocations: 4 kB / 491.2 MB, free: 10.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004481/0.4086, allocations: 2.346 MB / 493.5 MB, free: 7.828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.4086, allocations: 12.31 kB / 493.6 MB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.4087, allocations: 12 kB / 493.6 MB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.4097, allocations: 411.1 kB / 494 MB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.4109, allocations: 331.5 kB / 494.3 MB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005672/0.4166, allocations: 4.779 MB / 499.1 MB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.4178, allocations: 87.84 kB / 499.2 MB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/0.418, allocations: 59.98 kB / 499.2 MB, free: 1.938 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001369/0.4193, allocations: 0.7121 MB / 499.9 MB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004294/0.4197, allocations: 159 kB / 0.4884 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00409/0.4238, allocations: 2.128 MB / 0.4904 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/0.4239, allocations: 12 kB / 0.4905 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.4239, allocations: 0 / 0.4905 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/0.4239, allocations: 7.984 kB / 0.4905 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008339/0.4322, allocations: 4.035 MB / 0.4944 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.4322, allocations: 0 / 0.4944 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.4333, allocations: 219.7 kB / 0.4946 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001311/0.4346, allocations: 470 kB / 0.4951 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.4347, allocations: 35.98 kB / 0.4951 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007105/0.4418, allocations: 6.269 MB / 0.5012 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.4418, allocations: 3.938 kB / 0.5012 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005399/0.4472, allocations: 3.169 MB / 0.5043 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/0.4483, allocations: 326.9 kB / 0.5046 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003576/0.4486, allocations: 31.98 kB / 0.5047 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009928/0.4496, allocations: 67.92 kB / 0.5047 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002776/0.4499, allocations: 116.7 kB / 0.5048 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.867e-05/0.45, allocations: 35.98 kB / 0.5049 GB, free: 15.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001789/0.4518, allocations: 0.9509 MB / 0.5058 GB, free: 14.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4518, allocations: 0 / 0.5058 GB, free: 14.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00167/0.4535, allocations: 460 kB / 0.5062 GB, free: 14.25 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.0003903/0.4539, allocations: 186.9 kB / 0.5064 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003757/0.4576, allocations: 2.046 MB / 0.5084 GB, free: 11.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.4576, allocations: 4 kB / 0.5084 GB, free: 11.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002551/0.4602, allocations: 1.362 MB / 0.5097 GB, free: 10.58 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/0.4623, allocations: 404 kB / 0.5101 GB, free: 10.19 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008286/0.4706, allocations: 4.543 MB / 0.5146 GB, free: 5.586 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001884/0.4725, allocations: 1.249 MB / 0.5158 GB, free: 4.297 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001227/0.4737, allocations: 388.4 kB / 0.5162 GB, free: 3.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003879/0.4741, allocations: 103.4 kB / 0.5163 GB, free: 3.809 MB / 430.1 MB Notification: Performance of SimCode: time 6.32e-07/0.4741, allocations: 0 / 0.5163 GB, free: 3.809 MB / 430.1 MB Notification: Performance of Templates: time 0.2503/0.7244, allocations: 27.29 MB / 0.5429 GB, free: 102.4 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.960832413285971]