Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001459/0.001459, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.536/1.536, allocations: 230.6 MB / 258.3 MB, free: 8.031 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 68.77 kB / 379.1 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2826, allocations: 53.37 MB / 432.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01245/0.295, allocations: 9.526 MB / 441.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006539/0.3016, allocations: 3.069 MB / 445 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.3032, allocations: 59.62 kB / 445.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001845/0.305, allocations: 0.6713 MB / 445.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003032/0.3081, allocations: 0.8196 MB / 446.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.3092, allocations: 375.4 kB / 446.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004083/0.3133, allocations: 2.677 MB / 449.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001944/0.3152, allocations: 1.164 MB / 450.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002299/0.3175, allocations: 1.227 MB / 452 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002716/0.3203, allocations: 1.541 MB / 453.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00069/0.3209, allocations: 308 kB / 453.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.322, allocations: 415.8 kB / 454.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.3231, allocations: 0.8959 MB / 455.1 MB, free: 116 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001876/0.3249, allocations: 1.416 MB / 456.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005187/0.3301, allocations: 4.118 MB / 460.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3301, allocations: 0 / 460.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.16e-06/0.3301, allocations: 3.984 kB / 460.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000108/0.3302, allocations: 0 / 460.7 MB, free: 10.55 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.007039/0.3373, allocations: 2.863 MB / 463.5 MB, free: 7.645 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.3373, allocations: 8.031 kB / 463.6 MB, free: 7.637 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.3385, allocations: 335.1 kB / 463.9 MB, free: 7.309 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003138/0.3417, allocations: 1.48 MB / 465.4 MB, free: 5.785 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.3418, allocations: 152.4 kB / 465.5 MB, free: 5.633 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003664/0.3422, allocations: 207.9 kB / 465.7 MB, free: 5.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005608/0.3478, allocations: 2.74 MB / 468.4 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.931e-05/0.3478, allocations: 11.94 kB / 468.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002074/0.3481, allocations: 80 kB / 468.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001276/0.3482, allocations: 91.94 kB / 468.6 MB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004686/0.3529, allocations: 2.322 MB / 471 MB, free: 100 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01539/0.3683, allocations: 8.193 MB / 479.1 MB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/0.3704, allocations: 1.246 MB / 480.4 MB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001997/0.3724, allocations: 1.016 MB / 481.4 MB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002374/0.3726, allocations: 60.88 kB / 481.5 MB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.3727, allocations: 43.56 kB / 481.5 MB, free: 5.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.026e-06/0.3727, allocations: 0 / 481.5 MB, free: 5.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01353/0.3862, allocations: 5.928 MB / 487.4 MB, free: 15.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.3863, allocations: 68.41 kB / 487.5 MB, free: 15.24 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002665/0.3889, allocations: 1.529 MB / 489 MB, free: 13.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001183/0.389, allocations: 45.7 kB / 489.1 MB, free: 13.65 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008646/0.3899, allocations: 1.017 MB / 490.1 MB, free: 12.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004434/0.3904, allocations: 436.3 kB / 490.5 MB, free: 12.19 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004191/0.3908, allocations: 251.5 kB / 490.8 MB, free: 11.94 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.391, allocations: 357.9 kB / 491.1 MB, free: 11.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.3922, allocations: 0.7339 MB / 491.8 MB, free: 10.85 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.3937, allocations: 1.059 MB / 492.9 MB, free: 9.664 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002845/0.3965, allocations: 1.879 MB / 494.8 MB, free: 7.656 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.3965, allocations: 4 kB / 494.8 MB, free: 7.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004405/0.4009, allocations: 2.357 MB / 497.1 MB, free: 5.273 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.401, allocations: 8 kB / 497.2 MB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.401, allocations: 12 kB / 497.2 MB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.402, allocations: 407.5 kB / 497.6 MB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.4033, allocations: 331.5 kB / 497.9 MB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005669/0.409, allocations: 4.864 MB / 0.491 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.4105, allocations: 103.8 kB / 0.4911 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.4106, allocations: 51.98 kB / 0.4911 GB, free: 15.27 MB / 414.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.00147/0.4121, allocations: 0.7098 MB / 0.4918 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004155/0.4125, allocations: 170.9 kB / 0.492 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004124/0.4166, allocations: 2.137 MB / 0.4941 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/0.4166, allocations: 16 kB / 0.4941 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.4166, allocations: 4 kB / 0.4941 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.4166, allocations: 7.969 kB / 0.4941 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008885/0.4255, allocations: 4.526 MB / 0.4985 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.4255, allocations: 4 kB / 0.4985 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.4265, allocations: 219.7 kB / 0.4987 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/0.4278, allocations: 475.1 kB / 0.4992 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.51e-05/0.4279, allocations: 31.98 kB / 0.4992 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007217/0.4351, allocations: 6.378 MB / 0.5054 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4351, allocations: 0 / 0.5054 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005693/0.4408, allocations: 3.193 MB / 0.5086 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.4419, allocations: 334.7 kB / 0.5089 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/0.4421, allocations: 27.98 kB / 0.5089 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008305/0.443, allocations: 79.91 kB / 0.509 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003025/0.4433, allocations: 108.7 kB / 0.5091 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.879e-05/0.4434, allocations: 32 kB / 0.5091 GB, free: 12.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001752/0.4451, allocations: 1.056 MB / 0.5101 GB, free: 11.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4451, allocations: 4 kB / 0.5101 GB, free: 11.24 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001572/0.4467, allocations: 460 kB / 0.5106 GB, free: 10.79 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.0004048/0.4471, allocations: 194.8 kB / 0.5108 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003921/0.451, allocations: 2.045 MB / 0.5128 GB, free: 8.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.451, allocations: 4.438 kB / 0.5128 GB, free: 8.516 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002341/0.4534, allocations: 1.362 MB / 0.5141 GB, free: 7.113 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/0.4556, allocations: 444.6 kB / 0.5145 GB, free: 6.688 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008127/0.4638, allocations: 4.571 MB / 0.519 GB, free: 2.051 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001694/0.4655, allocations: 1.826 MB / 0.5208 GB, free: 200 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001383/0.4669, allocations: 405.6 kB / 0.5212 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003724/0.4672, allocations: 111.4 kB / 0.5213 GB, free: 15.68 MB / 446.1 MB Notification: Performance of SimCode: time 1.493e-06/0.4672, allocations: 0 / 0.5213 GB, free: 15.68 MB / 446.1 MB Notification: Performance of Templates: time 0.2823/0.7495, allocations: 27.2 MB / 0.5478 GB, free: 96.4 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.953297407366335]