Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.001649/0.001649, allocations: 106 kB / 21.18 MB, free: 0.707 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.001755/0.001755, allocations: 185.2 kB / 24.47 MB, free: 4.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.835/1.835, allocations: 207.6 MB / 235.2 MB, free: 10.03 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 55.92 kB / 347.7 MB, free: 9.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3721, allocations: 49.16 MB / 396.8 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01276/0.3848, allocations: 10.24 MB / 407.1 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009436/0.3943, allocations: 3.3 MB / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003347/0.3976, allocations: 67.25 kB / 410.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003257/0.4009, allocations: 0.7399 MB / 411.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005104/0.406, allocations: 0.8883 MB / 412.1 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002028/0.408, allocations: 422.5 kB / 412.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006274/0.4143, allocations: 2.975 MB / 415.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003472/0.4178, allocations: 1.35 MB / 416.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003685/0.4214, allocations: 1.374 MB / 418.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00513/0.4266, allocations: 1.741 MB / 419.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002046/0.4286, allocations: 358.8 kB / 420.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003288/0.4319, allocations: 459.6 kB / 420.7 MB, free: 9.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003353/0.4353, allocations: 1.034 MB / 421.7 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006295/0.4416, allocations: 1.604 MB / 423.3 MB, free: 8.047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01091/0.4525, allocations: 4.695 MB / 428 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.4525, allocations: 4 kB / 428 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4525, allocations: 0 / 428 MB, free: 4.062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002332/0.4527, allocations: 0 / 428 MB, free: 4.062 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.01304/0.4657, allocations: 3.26 MB / 431.3 MB, free: 0.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.552e-05/0.4658, allocations: 15.92 kB / 431.3 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/0.468, allocations: 346.9 kB / 431.7 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005199/0.4732, allocations: 1.588 MB / 433.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003084/0.4735, allocations: 180.8 kB / 433.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001217/0.4747, allocations: 232 kB / 433.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00964/0.4843, allocations: 3.137 MB / 436.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001392/0.4845, allocations: 8 kB / 436.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006523/0.4851, allocations: 92 kB / 436.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001699/0.4853, allocations: 104.6 kB / 437 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007394/0.4927, allocations: 2.696 MB / 439.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02665/0.5194, allocations: 9.494 MB / 449.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003435/0.5228, allocations: 1.413 MB / 450.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002744/0.5255, allocations: 1.04 MB / 451.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003386/0.5259, allocations: 56.89 kB / 451.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.479e-05/0.5259, allocations: 47.56 kB / 451.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.968e-06/0.5259, allocations: 0 / 451.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.01945/0.5454, allocations: 6.285 MB / 458 MB, free: 5.562 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/0.5455, allocations: 68.72 kB / 458.1 MB, free: 5.484 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00477/0.5503, allocations: 1.747 MB / 459.8 MB, free: 3.734 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003384/0.5506, allocations: 45.7 kB / 459.9 MB, free: 3.684 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001281/0.5519, allocations: 1.19 MB / 461.1 MB, free: 2.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007803/0.5527, allocations: 468 kB / 461.5 MB, free: 2.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008435/0.5535, allocations: 291.4 kB / 461.8 MB, free: 1.727 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.5537, allocations: 305.1 kB / 462.1 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.5554, allocations: 0.7925 MB / 462.9 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002153/0.5576, allocations: 1.202 MB / 464.1 MB, free: 15.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003911/0.5615, allocations: 2.095 MB / 466.2 MB, free: 12.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.118e-05/0.5615, allocations: 4 kB / 466.2 MB, free: 12.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.006034/0.5675, allocations: 2.604 MB / 468.8 MB, free: 10.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.007e-05/0.5676, allocations: 8 kB / 468.8 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-05/0.5676, allocations: 12 kB / 468.8 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/0.5688, allocations: 423.5 kB / 469.2 MB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/0.5704, allocations: 359.4 kB / 469.6 MB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009018/0.5795, allocations: 6.751 MB / 476.3 MB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.5814, allocations: 107.8 kB / 476.4 MB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003254/0.5817, allocations: 67.98 kB / 476.5 MB, free: 2.305 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (174): * Single equations (assignments): 170 * 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 {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002033/0.5837, allocations: 0.7939 MB / 477.3 MB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007173/0.5845, allocations: 190.8 kB / 477.5 MB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005323/0.5898, allocations: 2.292 MB / 479.8 MB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-05/0.5898, allocations: 15.94 kB / 479.8 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.037e-05/0.5898, allocations: 4 kB / 479.8 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.168e-05/0.5899, allocations: 7.969 kB / 479.8 MB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01361/0.6035, allocations: 4.979 MB / 484.8 MB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.143e-05/0.6035, allocations: 15.97 kB / 484.8 MB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/0.6047, allocations: 235.6 kB / 485 MB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001422/0.6061, allocations: 459.2 kB / 485.5 MB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001871/0.6063, allocations: 32.08 kB / 485.5 MB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01164/0.6179, allocations: 8.226 MB / 493.7 MB, free: 448 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-05/0.6179, allocations: 7.938 kB / 493.7 MB, free: 440 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008666/0.6266, allocations: 3.459 MB / 497.2 MB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001923/0.6285, allocations: 366.7 kB / 497.6 MB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007095/0.6292, allocations: 31.98 kB / 497.6 MB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/0.6307, allocations: 87.91 kB / 497.7 MB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000396/0.6311, allocations: 128.6 kB / 497.8 MB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/0.6312, allocations: 36 kB / 497.8 MB, free: 12.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003096/0.6343, allocations: 1.202 MB / 499 MB, free: 11.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6343, allocations: 0 / 499 MB, free: 11.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003149/0.6375, allocations: 0.5038 MB / 499.5 MB, free: 10.56 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.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 (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,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.0007073/0.6382, allocations: 195 kB / 499.7 MB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00528/0.6435, allocations: 2.315 MB / 0.4903 GB, free: 8.008 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.729e-06/0.6435, allocations: 4 kB / 0.4903 GB, free: 8.004 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003381/0.6469, allocations: 1.552 MB / 0.4918 GB, free: 6.398 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003859/0.6507, allocations: 489.8 kB / 0.4923 GB, free: 5.918 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/0.6627, allocations: 5.117 MB / 0.4973 GB, free: 0.707 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003229/0.666, allocations: 2.001 MB / 0.4992 GB, free: 14.67 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001939/0.6679, allocations: 447.5 kB / 0.4996 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006688/0.6686, allocations: 123.4 kB / 0.4998 GB, free: 14.11 MB / 430.1 MB Notification: Performance of SimCode: time 1.223e-06/0.6686, allocations: 0 / 0.4998 GB, free: 14.11 MB / 430.1 MB Notification: Performance of Templates: time 0.0611/0.7297, allocations: 29.54 MB / 0.5286 GB, free: 0.5078 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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: 6.410347245633602]