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.001305/0.001305, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.00151/0.00151, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.489/1.489, allocations: 230.4 MB / 255.4 MB, free: 15.17 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.001883/0.001883, allocations: 71.83 kB / 374.8 MB, free: 9.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1112, allocations: 53.31 MB / 428.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.2311/0.3423, allocations: 9.467 MB / 437.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00605/0.3484, allocations: 3.051 MB / 440.6 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/0.3503, allocations: 48.16 kB / 440.6 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002171/0.3524, allocations: 0.6762 MB / 441.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003238/0.3557, allocations: 0.8106 MB / 442.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.3567, allocations: 367.9 kB / 442.5 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003959/0.3607, allocations: 2.663 MB / 445.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002265/0.3629, allocations: 1.533 MB / 446.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002508/0.3654, allocations: 1.212 MB / 447.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002879/0.3683, allocations: 1.535 MB / 449.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006597/0.369, allocations: 307.7 kB / 449.7 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.3702, allocations: 412.9 kB / 450.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009478/0.3712, allocations: 0.8971 MB / 451 MB, free: 128 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002285/0.3735, allocations: 1.408 MB / 452.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006609/0.3801, allocations: 4.118 MB / 456.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3801, allocations: 1.375 kB / 456.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3801, allocations: 3.938 kB / 456.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000147/0.3802, allocations: 0 / 456.6 MB, free: 13.38 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.008333/0.3886, allocations: 2.935 MB / 459.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.3886, allocations: 9.531 kB / 459.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/0.3899, allocations: 334.1 kB / 459.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003208/0.3932, allocations: 1.566 MB / 461.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/0.3933, allocations: 150.5 kB / 461.5 MB, free: 9.957 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003888/0.3937, allocations: 204.3 kB / 461.7 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005702/0.3994, allocations: 2.738 MB / 464.5 MB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.63e-05/0.3995, allocations: 6.453 kB / 464.5 MB, free: 8.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002194/0.3997, allocations: 81.75 kB / 464.6 MB, free: 8.164 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000126/0.3998, allocations: 96.92 kB / 464.7 MB, free: 8.148 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00459/0.4044, allocations: 2.326 MB / 467 MB, free: 6.961 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0161/0.4205, allocations: 8.331 MB / 475.3 MB, free: 0.875 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002543/0.4231, allocations: 1.718 MB / 477 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002074/0.4251, allocations: 1.01 MB / 478 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002769/0.4254, allocations: 122.9 kB / 478.2 MB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.4255, allocations: 51.44 kB / 478.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.615e-06/0.4255, allocations: 0 / 478.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01497/0.4404, allocations: 6.237 MB / 484.5 MB, free: 7.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.4405, allocations: 64.41 kB / 484.5 MB, free: 7.531 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002678/0.4432, allocations: 1.525 MB / 486 MB, free: 5.996 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001833/0.4434, allocations: 45.7 kB / 486.1 MB, free: 5.945 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008926/0.4442, allocations: 1.013 MB / 487.1 MB, free: 4.918 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004496/0.4447, allocations: 440.3 kB / 487.5 MB, free: 4.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000446/0.4451, allocations: 259.5 kB / 487.8 MB, free: 4.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.4453, allocations: 357.9 kB / 488.1 MB, free: 3.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.4466, allocations: 0.73 MB / 488.9 MB, free: 3.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.4481, allocations: 1.059 MB / 489.9 MB, free: 1.953 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002873/0.451, allocations: 1.883 MB / 491.8 MB, free: 15.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.451, allocations: 4 kB / 491.8 MB, free: 15.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004546/0.4555, allocations: 2.342 MB / 494.1 MB, free: 13.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.4556, allocations: 15.97 kB / 494.2 MB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.4556, allocations: 8 kB / 494.2 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.4567, allocations: 411.6 kB / 494.6 MB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.4579, allocations: 327.5 kB / 494.9 MB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005992/0.4639, allocations: 5.059 MB / 500 MB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/0.4656, allocations: 99.8 kB / 0.4883 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.4657, allocations: 51.98 kB / 0.4884 GB, free: 7.336 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.00155/0.4673, allocations: 0.712 MB / 0.4891 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004321/0.4677, allocations: 170.9 kB / 0.4892 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004158/0.4719, allocations: 2.133 MB / 0.4913 GB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.4719, allocations: 12 kB / 0.4913 GB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.4719, allocations: 4.875 kB / 0.4913 GB, free: 4.266 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.4719, allocations: 3.984 kB / 0.4913 GB, free: 4.262 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008903/0.4808, allocations: 4.564 MB / 0.4958 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.4808, allocations: 4.625 kB / 0.4958 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009936/0.4818, allocations: 227.9 kB / 0.496 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00137/0.4832, allocations: 466 kB / 0.4965 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.4833, allocations: 35.97 kB / 0.4965 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007598/0.4909, allocations: 6.691 MB / 0.503 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4909, allocations: 0 / 0.503 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005798/0.4967, allocations: 3.185 MB / 0.5061 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/0.4978, allocations: 407.9 kB / 0.5065 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002784/0.4981, allocations: 24 kB / 0.5066 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008864/0.499, allocations: 77.03 kB / 0.5066 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003268/0.4993, allocations: 112.7 kB / 0.5067 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.558e-05/0.4994, allocations: 35.98 kB / 0.5068 GB, free: 3.863 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001809/0.5012, allocations: 1.052 MB / 0.5078 GB, free: 2.812 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.5012, allocations: 0 / 0.5078 GB, free: 2.812 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001862/0.5031, allocations: 467.9 kB / 0.5082 GB, free: 2.355 MB / 414.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.0004388/0.5035, allocations: 189.3 kB / 0.5084 GB, free: 2.164 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003989/0.5075, allocations: 2.196 MB / 0.5106 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.5075, allocations: 0 / 0.5106 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002483/0.51, allocations: 1.441 MB / 0.512 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/0.5125, allocations: 452.9 kB / 0.5124 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008839/0.5213, allocations: 4.589 MB / 0.5169 GB, free: 9.316 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001805/0.5231, allocations: 1.803 MB / 0.5187 GB, free: 7.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006862/0.5238, allocations: 123.4 kB / 0.5188 GB, free: 7.359 MB / 430.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5238, allocations: 0 / 0.5188 GB, free: 7.359 MB / 430.1 MB Notification: Performance of Templates: time 0.09123/0.6151, allocations: 70.67 MB / 0.5878 GB, free: 0.6914 MB / 494.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.019650404108688]