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.001551/0.001551, allocations: 80.72 kB / 22.21 MB, free: 2.293 MB / 18.57 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.001166/0.001166, allocations: 147.7 kB / 25.6 MB, free: 8.598 MB / 18.57 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 0.9987/0.9987, allocations: 173.4 MB / 202.2 MB, free: 8.312 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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 1.433e-06/1.433e-06, allocations: 0 / 269.2 MB, free: 9.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.63e-05, allocations: 3.062 kB / 269.2 MB, free: 9.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.008253/0.008279, allocations: 9.099 MB / 278.3 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005203/0.01348, allocations: 2.918 MB / 281.2 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.01466, allocations: 59.62 kB / 281.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001364/0.01602, allocations: 0.6248 MB / 281.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002013/0.01804, allocations: 0.8461 MB / 282.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006834/0.01872, allocations: 363.2 kB / 283.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00268/0.0214, allocations: 2.738 MB / 285.8 MB, free: 9.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.02291, allocations: 1.136 MB / 287 MB, free: 7.871 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002938/0.02585, allocations: 1.937 MB / 288.9 MB, free: 5.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002155/0.028, allocations: 1.38 MB / 290.3 MB, free: 4.547 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006768/0.02868, allocations: 296 kB / 290.6 MB, free: 4.258 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008547/0.02953, allocations: 383.9 kB / 291 MB, free: 3.883 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007844/0.03032, allocations: 0.9036 MB / 291.9 MB, free: 2.977 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00115/0.03147, allocations: 0.9588 MB / 292.8 MB, free: 2.016 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002892/0.03436, allocations: 2.262 MB / 295.1 MB, free: 15.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.03436, allocations: 0 / 295.1 MB, free: 15.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.03436, allocations: 0 / 295.1 MB, free: 15.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.768e-05/0.0344, allocations: 0 / 295.1 MB, free: 15.75 MB / 282.7 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.00318/0.03758, allocations: 2.89 MB / 298 MB, free: 12.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.03762, allocations: 8.031 kB / 298 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006589/0.03828, allocations: 471.2 kB / 298.4 MB, free: 12.33 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.03973, allocations: 1.318 MB / 299.8 MB, free: 10.97 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-05/0.03981, allocations: 152.4 kB / 299.9 MB, free: 10.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/0.04002, allocations: 208.3 kB / 300.1 MB, free: 10.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.04198, allocations: 1.555 MB / 301.7 MB, free: 8.934 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.279e-05/0.04203, allocations: 11.88 kB / 301.7 MB, free: 8.922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.04215, allocations: 84 kB / 301.8 MB, free: 8.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.849e-05/0.04222, allocations: 95.92 kB / 301.9 MB, free: 8.746 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008685/0.04309, allocations: 0.5848 MB / 302.4 MB, free: 8.16 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006971/0.05006, allocations: 6.791 MB / 309.2 MB, free: 1.121 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007229/0.05079, allocations: 0.6398 MB / 309.9 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006777/0.05146, allocations: 0.4983 MB / 310.4 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001348/0.0516, allocations: 52.92 kB / 310.4 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.05163, allocations: 54.33 kB / 310.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=104): time 2.345e-06/0.05163, allocations: 0 / 310.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=120): time 0.004208/0.05584, allocations: 2.488 MB / 313 MB, free: 13.33 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.05587, allocations: 64.41 kB / 313 MB, free: 13.26 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.0569, allocations: 1.182 MB / 314.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.27e-05/0.05697, allocations: 49.7 kB / 314.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008366/0.0578, allocations: 1.105 MB / 315.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/0.05804, allocations: 448.2 kB / 315.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002777/0.05832, allocations: 265 kB / 316.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.05848, allocations: 0.5471 MB / 316.6 MB, free: 9.605 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.05873, allocations: 171.9 kB / 316.8 MB, free: 9.438 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004477/0.05917, allocations: 0.6287 MB / 317.4 MB, free: 8.633 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008204/0.05999, allocations: 0.9131 MB / 318.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.06, allocations: 4 kB / 318.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001526/0.06153, allocations: 1.135 MB / 319.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.06155, allocations: 10.19 kB / 319.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.06156, allocations: 15.94 kB / 319.5 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000484/0.06205, allocations: 217.2 kB / 319.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006495/0.0627, allocations: 299.5 kB / 320 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/0.0659, allocations: 4.287 MB / 324.3 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008903/0.06679, allocations: 48.02 kB / 324.3 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.091e-05/0.06687, allocations: 47.98 kB / 324.4 MB, free: 1.223 MB / 298.7 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.0006453/0.06751, allocations: 244.1 kB / 324.6 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003363/0.06785, allocations: 195 kB / 324.8 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.06937, allocations: 0.96 MB / 325.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.06938, allocations: 12 kB / 325.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.06939, allocations: 7.828 kB / 325.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.0694, allocations: 7.969 kB / 325.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003456/0.07286, allocations: 2.421 MB / 328.2 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.07286, allocations: 4 kB / 328.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008169/0.07368, allocations: 191.8 kB / 328.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000592/0.07427, allocations: 270.3 kB / 328.7 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.368e-05/0.07434, allocations: 35.92 kB / 328.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003123/0.07746, allocations: 6.02 MB / 334.7 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.07746, allocations: 0 / 334.7 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/0.07954, allocations: 1.406 MB / 336.1 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004648/0.08001, allocations: 258.9 kB / 336.4 MB, free: 4.637 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.08014, allocations: 24 kB / 336.4 MB, free: 4.613 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/0.08051, allocations: 47.97 kB / 336.4 MB, free: 4.566 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.08067, allocations: 96.7 kB / 336.5 MB, free: 4.473 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/0.08072, allocations: 27.98 kB / 336.6 MB, free: 4.445 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005878/0.0813, allocations: 0.6574 MB / 337.2 MB, free: 3.785 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0813, allocations: 0 / 337.2 MB, free: 3.785 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001142/0.08245, allocations: 455.9 kB / 337.7 MB, free: 3.34 MB / 314.7 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002715/0.08272, allocations: 187 kB / 337.8 MB, free: 3.145 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.08408, allocations: 1.159 MB / 339 MB, free: 1.941 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.08409, allocations: 192 / 339 MB, free: 1.941 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008504/0.08494, allocations: 0.9927 MB / 340 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.08595, allocations: 392.3 kB / 340.4 MB, free: 0.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0048/0.09075, allocations: 3.711 MB / 344.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/0.09122, allocations: 0.575 MB / 344.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000554/0.09178, allocations: 192.7 kB / 344.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006527/0.09243, allocations: 449.9 kB / 345.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of SimCode: time 1.603e-06/0.09243, allocations: 0 / 345.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of Templates: time 0.1385/0.2309, allocations: 25.86 MB / 371.2 MB, free: 79.69 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.603074966929853]