Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 119.5 kB / 18.41 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 192.3 kB / 21.35 MB, free: 1.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 247 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00179/0.001789, allocations: 51.91 kB / 358.7 MB, free: 8.348 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1037, allocations: 49.44 MB / 408.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01176/0.1155, allocations: 9.38 MB / 417.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006022/0.1216, allocations: 2.979 MB / 420.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.1229, allocations: 43.81 kB / 420.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.1247, allocations: 0.6326 MB / 421.1 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.1269, allocations: 0.7649 MB / 421.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007994/0.1277, allocations: 347.5 kB / 422.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003096/0.1308, allocations: 2.658 MB / 424.9 MB, free: 6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002457/0.1333, allocations: 2.151 MB / 427.1 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/0.135, allocations: 1.191 MB / 428.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002821/0.1379, allocations: 1.491 MB / 429.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000461/0.1384, allocations: 308 kB / 430 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008286/0.1392, allocations: 391.8 kB / 430.4 MB, free: 416 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2132/0.3524, allocations: 0.8879 MB / 431.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002423/0.3549, allocations: 1.404 MB / 432.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004778/0.3597, allocations: 4.091 MB / 436.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.3597, allocations: 2.766 kB / 436.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.3597, allocations: 0 / 436.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001184/0.3599, allocations: 1.875 kB / 436.8 MB, free: 9.234 MB / 350.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.005949/0.3658, allocations: 2.92 MB / 439.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3659, allocations: 9.875 kB / 439.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007734/0.3666, allocations: 302.8 kB / 440 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002402/0.3691, allocations: 1.541 MB / 441.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.3692, allocations: 150.6 kB / 441.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003015/0.3695, allocations: 205.4 kB / 441.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004751/0.3742, allocations: 2.74 MB / 444.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.002e-05/0.3744, allocations: 7.359 kB / 444.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001915/0.3746, allocations: 81.44 kB / 444.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.279e-05/0.3747, allocations: 99.78 kB / 444.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003923/0.3786, allocations: 2.324 MB / 447.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01151/0.3901, allocations: 8.335 MB / 455.5 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.392, allocations: 1.779 MB / 457.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00176/0.3938, allocations: 1.073 MB / 458.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/0.394, allocations: 129.2 kB / 458.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.394, allocations: 46.88 kB / 458.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.306e-06/0.394, allocations: 1.625 kB / 458.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=120): time 0.01325/0.4073, allocations: 6.227 MB / 464.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.4074, allocations: 67.89 kB / 464.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002371/0.4098, allocations: 1.512 MB / 466.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.4099, allocations: 49.31 kB / 466.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008047/0.4107, allocations: 1.007 MB / 467.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004123/0.4111, allocations: 440.6 kB / 467.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004283/0.4116, allocations: 259.8 kB / 468.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.4117, allocations: 356.6 kB / 468.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.4129, allocations: 0.7308 MB / 469.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.4143, allocations: 1.063 MB / 470.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002804/0.4171, allocations: 1.873 MB / 472.1 MB, free: 8.352 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.4171, allocations: 4 kB / 472.1 MB, free: 8.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004342/0.4215, allocations: 2.352 MB / 474.5 MB, free: 6.039 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.4215, allocations: 20.05 kB / 474.5 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/0.4216, allocations: 8 kB / 474.5 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.4226, allocations: 404.6 kB / 474.9 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.4239, allocations: 334.7 kB / 475.2 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005706/0.4297, allocations: 5.069 MB / 480.3 MB, free: 0 / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.431, allocations: 87.94 kB / 480.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/0.4312, allocations: 59.92 kB / 480.4 MB, free: 15.86 MB / 382.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.001425/0.4327, allocations: 0.718 MB / 481.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004797/0.4332, allocations: 166.9 kB / 481.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004092/0.4373, allocations: 2.137 MB / 483.4 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.4373, allocations: 12 kB / 483.4 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.4373, allocations: 4 kB / 483.4 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.4373, allocations: 7.969 kB / 483.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008733/0.4461, allocations: 4.564 MB / 488 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.4461, allocations: 4 kB / 488 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009988/0.4471, allocations: 223.1 kB / 488.2 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00128/0.4484, allocations: 458.9 kB / 488.7 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/0.4485, allocations: 43.91 kB / 488.7 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006984/0.4555, allocations: 6.68 MB / 495.4 MB, free: 440 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.4556, allocations: 3.656 kB / 495.4 MB, free: 440 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005454/0.461, allocations: 3.192 MB / 498.6 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009998/0.462, allocations: 411.9 kB / 499 MB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004687/0.4625, allocations: 24 kB / 499 MB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.4636, allocations: 79.91 kB / 499.1 MB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002978/0.4639, allocations: 112.7 kB / 499.2 MB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.464, allocations: 32 kB / 499.3 MB, free: 12.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001937/0.466, allocations: 1.048 MB / 0.4886 GB, free: 11.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.466, allocations: 0 / 0.4886 GB, free: 11.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001784/0.4678, allocations: 459.9 kB / 0.489 GB, free: 11.04 MB / 398.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.0004279/0.4682, allocations: 190.6 kB / 0.4892 GB, free: 10.85 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003883/0.4721, allocations: 2.276 MB / 0.4914 GB, free: 8.547 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4721, allocations: 0 / 0.4914 GB, free: 8.547 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00241/0.4746, allocations: 1.494 MB / 0.4929 GB, free: 7.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002513/0.4771, allocations: 449.1 kB / 0.4933 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008224/0.4853, allocations: 4.579 MB / 0.4978 GB, free: 1.973 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001853/0.4872, allocations: 1.795 MB / 0.4995 GB, free: 144 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000636/0.4879, allocations: 119.4 kB / 0.4996 GB, free: 24 kB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4879, allocations: 0 / 0.4996 GB, free: 24 kB / 398.1 MB Notification: Performance of Templates: time 0.08857/0.5764, allocations: 70.08 MB / 0.5681 GB, free: 9.98 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 12.677930686040781]